Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

DD statement

To add a DD statement to a cataloged procedure, or to modify one or more parameters of an existing DD statement, you must include a DD statement with the form procstepname.ddname in the appropriate position in the input stream. If ddname is the name of a DD statement already present in the procedure step identified by procstepname, the parameters in the new DD statement override the corresponding parameters in the existing DD statement; otherwise, the new DD statement is added to the procedure step. For example, the statement:

 //PLI.SYSIN DD *

adds a DD statement to the procedure step PLI of cataloged procedure IBMZC and the effect of the statement:

 //PLI.SYSPRINT DD SYSOUT=C

is to modify the existing DD statement SYSPRINT (causing the compiler listing to be transmitted to the system output device of class C).

Overriding DD statements must appear after the procedure invocation and in the same order as they appear in the cataloged procedure. Additional DD statements can appear after the overriding DD statements are specified for that step.

To override a parameter of a DD statement, code either a revised form of the parameter or a replacement parameter that performs a similar function (for example, SPLIT for SPACE). To nullify a parameter, code the keyword and equal sign without a value. You can override DCB subparameters by coding only those you wish to modify; that is, the DCB parameter in an overriding DD statement does not necessarily override the entire DCB parameter of the corresponding statement in the cataloged procedures.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)