WEB RETRIEVE

Retrieve the DOCTOKEN for a CICS document that was sent using a WEB SEND command.

Read syntax diagramSkip visual syntax diagram
WEB RETRIEVE

>>-WEB--RETRIEVE--DOCTOKEN(data-area)--------------------------><

Conditions:INVREQ

This command is threadsafe.

 

Description

Start of changeThe 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. End of change

Options

DOCTOKEN(data-area)
specifies a 16–byte buffer to contain the symbolic name of the document to be retrieved.

Conditions

INVREQ
RESP2 values:
1
The command is issued in a non-CICS Web support application.
2
Start of changeA WEB SEND command has not been issued, or a WEB SEND command has been issued but with the ACTION(IMMEDIATE) option.End of change