Document requests

Deprecated. Use *edit instead.

Please make sure that you enclose long file names that contain spaces in double quotes. To avoid possible problems you should always enclose file names in double quotes.

Waiting for completion

The value of the WAIT parameter is ignored. WindowsEnabler always waits for completion and yields a return value if the request is handled properly.

Return values

The return value of a document request is always 0. If any errors occurred during the opening of the document, an AS/400 escape message is sent instead of a completion message.