IBM AS/400 Appendix C. The Create Commands, Using CL Commands, How to Interpret Syntax Diagrams

Models: AS/400

1 489
Download 489 pages 47.95 Kb
Page 429
Image 429
Reading Syntax Diagrams

Reading Syntax Diagrams

Appendix C. The Create Commands

This section provides information on:

¹ Using CL commands

¹ Syntax diagram and description of CRTBNDRPG

¹Syntax diagram and description of CRTRPGMOD

For

information on the Create Program and Create Service Program commands

see

theCL Reference (Abridged).

Using CL Commands

Control Language

(CL)

commands

, parameters

, andkeywords

can be

entered

in

either

uppercase

or lowercase

characters.

In the

syntax diagram

in

uppercase (for example, PARAMETER, PREDEFINED-VALUE). Variables

appear in

lowercase italic lettersuser(for-definedexample,-value). Variables are

user-defined

names or

values.

 

 

 

How to Interpret Syntax Diagrams

The syntax diagrams in this book use the following conventions:

5533PARAMETER33(33-333333333333333333-33user-defined-value33)3333333333333333333333333335% ,3PREDEFINED-VALUE32

Figure

213. Structure of a Syntax Diagram

Read

the syntax diagram from left to right, and from top to bottom,

path

of the line.

The 5533 symbol indicates the beginning of the syntax diagram.

The 335% symbol indicates the end of the syntax diagram.

The 3335 symbol indicates that the statement syntax is continued on th

The 5333 symbol indicates that a statement is continued from the previ

The 33(33)33 symbol indicates that the parameter or value must be ente parentheses.

Required

parameters

 

appear on the base line

and

mustOptionalbe

entered.

parameters

appear

below the

base line

and

do

not

need

to

be

enter

lowing

sample,

you

must

enter

REQUIRED-PARAMETER

and

a

value

for

it,

but

you

do

not

need

to

enter

OPTIONAL-PARAMETER

or

a

value for

it.

 

 

Copyright IBM Corp. 1994, 1999

405

Page 429
Image 429
IBM AS/400 Appendix C. The Create Commands, Using CL Commands, How to Interpret Syntax Diagrams, Reading Syntax Diagrams