z/OS MVS JCL Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Notation used to show syntax

z/OS MVS JCL Reference
SA23-1385-00

The syntax for job control statements and their parameters appear in the description for each statement. The notation used in this publication for the syntax is shown in Table 1.

Table 1. Notation used to show syntax
Notation Meaning Examples
Uppercase letters, words, and characters Code uppercase letters, words, and the following characters exactly as they appear in the syntax.
&
ampersand
*
asterisk
,
comma
=
equal sign
( )
parentheses
.
period
/
slash
 
Lowercase letters, words,  and symbols Lowercase letters, words, and symbols in the syntax represent variables. Substitute specific information for them. Syntax: on JOB statement

 CLASS=jobclass

Coded:

 CLASS=A

| (vertical bar) A vertical bar indicates an exclusive OR. Never code | on a control statement. It is used between choices within braces or brackets; it indicates that you code only one of the items within the braces or brackets. Syntax: on DD DCB parameter  BFALN={F|D}

Coded:
 BFALN=F
   or
 BFALN=D

{ } (braces) Braces surround required, related items and indicate that you must code one of the enclosed items. Never code { or } on a control statement. Syntax: on DD SPACE parameter
{TRK    }
{CYL    }
{blklgth}
{reclgth}

Coded:
 TRK or
 CYL or
 960

[ ] (brackets) Brackets surround an optional item or items and indicate that you can code one or none of the enclosed items. Never code [ or ] on a control statement. Syntax: on DD UNIT parameter

 [,DEFER]
 
Coded:
 ,DEFER
   or
 omitted

Syntax: on DD LABEL parameter

[,RETPD=nnnn        ]
[,EXPDT=  {yyddd   }]
[         {yyyy/ddd}]

Coded:
 ,RETPD=nnnn
   or
 ,EXPDT=yyddd
   or
 ,EXPDT=yyyy/ddd
   or
 omitted

{ , } or [ , ] One of the items in braces or brackets can be a comma. Code the comma when you do not code any of the other items in the braces or brackets but you are coding a following part of the parameter. Syntax: on DD UCS parameter  UCS=(character-set-code[,FOLD|,]    [,VERIFY])
  • Coded:

    UCS=(character-set-code)
  • UCS=(character-set-code,FOLD)
  • UCS=(character-set-code,FOLD, VERIFY)
  • UCS=(character-set-code,,VERIFY)

Note that the comma is not coded if both FOLD and VERIFY are omitted, but must appear if FOLD is omitted and VERIFY follows.

__ (underline) An underline indicates the default that the system uses when you do not code a subparameter. Syntax: on JOB or EXEC statement  ADDRSPC={VIRT|REAL}

Coded:
 ADDRSPC omitted means
 ADDRSPC=VIRT

... (ellipsis) An ellipsis follows an item that you can code more than once. Never code ... on a control statement. Syntax: on DD statement  COND=((code,operator)[,(code,operator)]....)

Coded:
 Can repeat ,(code,operator)
 Thus:
 COND=((12,GE),(8,EQ),(4,EQ))

.. (two consecutive periods) Two consecutive periods indicate that a parameter consists of a symbolic parameter followed by a period and then by other code, so that only part of the parameter is variable. Coded:  &DEPT..NYC

Meaning:
 If &DEPT is D27:
 D27.NYC is the value

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014