Synchronizing your request

Every REQUEST value specified on the ANTRQST macro may be specified with optional subparameters that control when and how SDM responds to a request.
ASYNCH
A ASYNCH value may be specified to indicate whether the ANTRQST request is to be done asynchronously. If you specify a YES value, you must also specify the ECB subparameter to indicate the field to be posted upon completion of the request.
ECB
A ECB value must be specified if ASYNCH=YES is specified to indicate the area to be posted upon completion of a asynchronous request (as specified by ASYNCH=YES).
WAITTIME
A WAITTIME value may be specified to indicate the maximum amount of time that SDM may take before returning to the application. If the time expires before the request is completed, a return code will be sent back to the application indicating this condition, and the request may continue to be executed depending on the request. In addition, if ASYNCH=YES was also specified, the required specified ECB field will be posted.