GET CONTAINER
| COBOL |
Java |
| EXEC CICS GET CONTAINER |
ibmCics.getContainer |
Syntax
ibmCics.getContainer(new GetContainerOptions()
[.container(<Container>)]
[.channel(<Channel>)]
[.into(<Into>)]
[.length(<Length>)]
[.noData(true)]
[.noHandle(true)]
[.pointer(<Pointer>)]
);
Parameters
- <Container>
- The container to be used.
- <Channel>
- Name of the channel that owns the container.
- <Into>
- The data area into which the retrieved data is to be written.
- <Length>
- The length of the data to be read.
- <noData>
- Optional boolean. Set to true if no data is expected.
- <noHandle>
- Optional boolean. If set to true, exceptions created by this command will be ignored.
- <Pointer>
- Specifies a data area in which the address of the retrieved data is returned.
Examples
| COBOL |
Java |
EXEC CICS
GET CONTAINER(WS-CONTAINER)
INTO(WS-DATA)
END-EXEC.
|
ibmCics.getContainer(new GetContainerOptions()
.container(locDef.ws_Container)
.into(locDef.ws_Data)
);
|