A PROC statement consists of the characters // in columns 1
and 2 and four fields: name, operation (PROC), parameter, and comments. Note: A PROC statement is optional in a cataloged
procedure.
Multiple parameters:
When more than one parameter is coded, separate parameters by commas.
For example, //P1 PROC PARM1=OLD,PARM2=222001.
Special
characters: When a parameter value contains special characters,
enclose the value in apostrophes. The enclosing apostrophes are not
considered part of the value. For example, //P2 PROC PARM3='3400-6'.
Code
each apostrophe that is part of a value as two consecutive apostrophes.
For example, //P3 PROC PARM4=‘O’‘DAY’.
However,
if the symbolic parameter is enclosed within a matched pair of parentheses,
you do not need to enclose the parentheses in apostrophes.
Continuation onto another statement: End each statement
with a comma after a complete parameter. For example: //P4 PROC PARM5=OLD,PARM6='SYS1.LINKLIB(P40)',
// PARM7=SYSDA,PARM8=(CYL,(10,1))
|