Retrieve the DOCTOKEN for a CICS document that was sent using a WEB SEND command.
Conditions:INVREQ
This command is threadsafe.
The
WEB RETRIEVE command retrieves the DOCTOKEN of the document which was sent
using an earlier WEB SEND command. The command can only retrieve the DOCTOKEN
of a document which was sent with the ACTION(EVENTUAL) option specified on
the WEB SEND command. If the ACTION(IMMEDIATE) option was used, the WEB RETRIEVE
command cannot retrieve the DOCTOKEN, and an INVREQ response with a RESP2
value of 2 is returned.