You can group program requests, internal command requests, and document requests into request sequences. You can send such a request sequence with the STRPGMSEQ command.
It is in general not possible to make assumptions about the meaning of return values. However, WindowsEnabler makes an assumption about the meaning of the return value of every single command inside the request sequence. Any return value other than 0 means a failure. When a failure occurs, the request sequence terminates and additional requests are not executed. You can retrieve the return value and the number of the failing request from the dataarea WINRES in library QTEMP.
Inside a request sequence, WindowsEnabler always waits for completion, because it requires the return value to determine whether an individual request failed.
The content of the WINRES dataarea contains three information items in case of a request sequence: the return value, the sequence number of the failing request and the request itself. You can use this information report to the error to the user or operator, or to perform error recovery.