CSD APPEND

Append the groups in one list on the CSD to the end of another list.

CSD APPEND

Read syntax diagramSkip visual syntax diagramCSDAPPENDLIST( data-value)TO( data-value)

Conditions: CSDERR, DUPRES, INVREQ, LOCKED, NOTAUTH, NOTFND

Description

The CSD APPEND command appends the groups in one list on the CSD to the end of another list.

A syncpoint is implicit in CSD APPEND processing, except when an exception condition is detected early in processing the command. Uncommitted changes to recoverable resources made up to that point in the task are committed if the command is successful, and rolled back if not.

Options

LIST(data-value)
Specifies the 8-character name of the list that is appended.
TO(data-value)
Specifies the 8-character name of the target list that is appended to. The list is created if it does not exist.

Conditions

CSDERR
RESP2 values:
1
The CSD could not be read.
2
The CSD is read only.
3
The CSD is full.
4
The CSD is being used by another CICS system and is not configured for sharing
5
Insufficient VSAM strings (CSDSTRNO system initialization parameter value) are available to run the EXEC CICS CSD command.
DUPRES
RESP2 value:
3
Either the list specified in LIST is present in the CSD as a group, or the list specified in TO did not exist but the list cannot be created because a group of the same name is already present in the CSD.
INVREQ
RESP2 values:
3
The LIST option contains one or more characters that are not valid.
7
The TO option contains one or more characters that are not valid.
200
The command was run in a program defined with an EXECUTIONSET value of DPLSUBSET or in a program invoked from a remote system by a distributed program link without the SYNCONRETURN option.
LOCKED
RESP2 values:
1
The TO list is locked to another user.
2
The TO list is IBM protected.
NOTAUTH
RESP2 value:
100
The user associated with the issuing task is not authorized to use this command.
NOTFND
RESP2 value:
3
The list specified in the LIST option cannot be found.