AMT Help Files
Home Development Command Translation CICS Commands PUT CONTAINER

PUT CONTAINER

COBOL Java
EXEC CICS PUT CONTAINER ibmCics.putContainer

Syntax

ibmCics.putContainer(new PutContainerOptions()
  [.container(<Container>)]
  [.channel(<Channel>)]
  [.from(<From>)]
  [.length(<Length>)]
  [.noHandle(true)]
  [.append(true)]
);

Parameter(s)

<Container>
The container to be used.
<Channel>
Name of the channel that owns the container.
<From>
The data area from which the data is written to the container.
<Length>
The length of the data area from which data is read.
<noHandle>
Optional boolean. If set to true, exceptions created by this command will be ignored.
<append>
Set to true to append the data in the container, set to false to overwrite the data in the container.

Example(s)

COBOL Java
EXEC CICS
    PUT CONTAINER(WS-CONTAINER)
        FROM(WS-DATA)
        APPEND
END-EXEC.
                
ibmCics.putContainer(new PutContainerOptions()
  .container(locDef.ws_Container)
  .from(locDef.ws_Data)
  .append(true)
);
                

Contents

 Go to top