SEND MAP
| COBOL |
Java |
| EXEC CICS SEND MAP |
ibmCics.sendMap |
Syntax
ibmCics.sendMap(new SendMapOptions.Builder()
.map(<Map>)
[.mapSet(<MapSet>)]
[.from(<From>)]
[.length(<Length>)]
[.cursor(<Cursor>)]
[.sendOptions(EnumSet.of(<CicsSendOption>))]
[.noHandle(true)]
.build());
Parameters
- <Map>
- The name of the map to be used.
- <MapSet>
- The name of the mapset to be used.
- <From>
- The data area from which the mapped data is taken.
- <Length>
- Optional length of the data to be sent.
- <Cursor>
- Optional value for the cursor position.
- <sendOptions>
- One or more send options as EnumSet, see the CicsSendOption enum for all available options. Includes CURSOR, ERASE, MAP_ONLY, DATA_ONLY and others.
- noHandle
- Optional Boolean. If set to true, exceptions created by this command will be ignored.
Examples
| COBOL |
Java |
EXEC CICS
SEND MAP('DETAILS')
MAPSET('CUSTOMER')
FROM(CUSTFORMO)
ERASE
END-EXEC.
|
ibmCics.sendMap(new SendMapOptions.Builder()
.map("DETAILS")
.mapSet("CUSTOMER")
.from(locDef.custformo)
.sendOptions(EnumSet.of(CicsSendOption.ERASE))
.build());
|