The command line

The command line is the first line of the screen. You enter the command you want to process or whose syntax you want to check here. This can be the full or abbreviated syntax.

The rules for entering and abbreviating the command are:
  • The keywords EXEC CICS® are optional.
  • The options of a command can be abbreviated to the number of characters sufficient to make them unique. Valid abbreviations are shown in uppercase characters in syntax displays in the body of the screen.
  • The quotes around character strings are optional, and all strings of characters are treated as character-string constants unless they are preceded by an ampersand (&), in which case they are treated as variables.
  • Options of a command that receive a value from CICS when the command is processed are called receivers , and need not be specified. The value received from CICS is included in the syntax display, and stored in the variable if one has been specified, after the command has been processed.
  • If you issue a CECI command with two of the keywords in conflict, CECI ignores the first keyword and issues an error message, such as this one, from a READ command:
    E INTO option conflicts with SET option and is ignored
  • If you put a question mark in front of your command, the interpreter stops after the syntax check, even if you have used the transaction code CECI. If you want to proceed with execution, remove the question mark.
The following example shows the abbreviated form of a command. The file control command:
EXEC CICS READ FILE('FILEA') RIDFLD('009000')
INTO(&REC)
can be entered on the command input line, as:
READ FIL(FILEA) RID(009000)
or at a minimum, as:
READ F(FILEA) RI(009000)

In the first form, the INTO specification creates a variable, &REC, into which the data is to be read. However, INTO is a receiver (as defined above) and you can omit it. When you do, CICS creates a variable for you automatically.



dfhp34r.html | Timestamp icon Last updated: Monday, 5 June 2017