CSD GETNEXTGROUP

Get the next group in a group browse.

CSD GETNEXTGROUP

Read syntax diagramSkip visual syntax diagramCSDGETNEXTGROUPGROUP( data-area)LIST(data-value)

Conditions: CSDERR, END, ILLOGIC, NOTAUTH

Description

The CSD GETNEXTGROUP command returns the name of the next group in the browse started by a CSD STARTBRGROUP command.

Options

GROUP(data-area)
Returns the 8-character name of the group.
LIST(data-value)
Specifies the 8-character name of the list to which the browse was limited on the STARTBRGROUP command. You must specify a value for LIST if the associated STARTBRGROUP command includes the LIST option.

Conditions

CSDERR
RESP2 value:
1
The CSD cannot be read.
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.
END
RESP2 value:
1
The CSD or the list contain no more groups.
ILLOGIC
RESP2 value:
1
A group browse is not in progress.
NOTAUTH
RESP2 value:
100
The user associated with the issuing task is not authorized to use this command.