Issuing a Work Request

To issue a request, a task creates a request element, which contains the command text. It then calls DMTCOMNQ specifying the address of the request element and the address of the anchor for the ECB. DMTCOMNQ copies the request into a new storage area (a QSABLOK). It then enqueues this area onto the serving task’s anchor. Then, the requesting task issues a POST macro for the ECB. The task should not issue the POST macro until after it calls DMTCOMNQ.