Menu principal                 [Fechar]


CICS Manual do Usuário - Conventions used in EXEC CICS commands


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF.

Conventions used in EXEC CICS commands

In the CICS documentation, the syntax of application programming commands is as follows:

Symbol Action
>>-+-A-+-------------------------------------------------------><
   +-B-+
   '-C-'
 
 
A set of alternatives, one of which you must code.
>>-+---+-------------------------------------------------------><
   +-A-+
   +-B-+
   '-C-'
 
 
A set of alternatives, one of which you can code.
   .-------.
   V       |
>>---+---+-+---------------------------------------------------><
     +-A-+
     +-B-+
     '-C-'
 
 
A set of alternatives, of which you can code as many as you choose.
   .-A-.
>>-+---+-------------------------------------------------------><
   '-B-'
 
 
Alternatives where A is the default.
>>-| Name |----------------------------------------------------><
 
Name:
 
|--A--+---+-----------------------------------------------------|
      '-B-'
 
 
Use with the named section in place of its name.
Punctuation and uppercase characters Code exactly as shown.
Lowercase characters Code your own text, as appropriate (for example, name).

The following symbols are used to show how to code the commands.
These symbols are not part of the command and must not be included in the code.

  • Brackets [ ] show that the enclosed is optional; you can, but need not, code the enclosed options.
  • Braces { } enclose a set of alternatives, one of which you must code.
  • A logical OR symbol | separates alternatives. If the alternatives are between { and }, you must code one of them. If they are between [ and ], you can code one of them.
  • Underlining shows a default option that is assumed unless you specify otherwise (for example, the NEXT option of READQ TS).
  • An ellipsis (...) shows that you can code the immediately preceding options more than once.

    Therefore, to show that either GTEQ or EQUAL, or neither, can be coded, and that EQUAL is the default, the syntax is:

    [GTEQ|EQUAL]
  • Options that are not enclosed in either braces { } or square brackets [ ] are mandatory.
  • The words EXEC CICS that precede the command are not always shown in the examples or descriptions; nor is the terminator that you must code at the end of each CICS command. For COBOL programs, the terminator is END-EXEC. For C or C++ programs, the terminator is a semicolon (;).
  • Punctuation symbols must be coded exactly as shown.
  • Lowercase characters show argument values. For example, the FILE option of the READ command is shown as:
    FILE(name)

    In this case, name is replaced with the name of the file.
    You must code READ FILE and ( ) as shown.
    Commands can be entered in lowercase and you are free to code any valid text string for the name of the file.


© Copyright IBM Corp.