AMT Help Files
Home Development Command Translation CICS Commands RETRIEVE

RETRIEVE

COBOL Java
EXEC CICS RETRIEVE ibmCics.retrieve

Syntax

ibmCics.retrieve(new RetrieveOptions.Builder()
  [.into(<Into>)]
  [.length(<Length>)]
  [.set(<Set>)]
  [.noHandle(true)]
  .build());

Parameter(s)

<Into>
The variable into which the retrieved data is to be written.
<Length>
Optional length of the retrieved data.
<Set>
Pointer variable containing the address of the retrieved data.
noHandle
Optional Boolean. If set to true, exceptions created by this command will be ignored.

Example(s)

COBOL Java
EXEC CICS
    RETRIEVE
        INTO(WS-DATA)
        LENGTH(WS-LENGTH)
END-EXEC.
                
ibmCics.retrieve(new RetrieveOptions.Builder()
  .into(locDef.ws_Data)
  .length(locDef.ws_Length.getIntValue())
  .build());
                

Contents

 Go to top