Data set names in cataloged procedures

When you use DSNAME=&&name in a DD statement, it is a temporary data set that is deleted when the job terminates. If you want the data set to be kept, override the DD statement with a permanent data set name and specify the appropriate DISP parameters.

See "Required DD Statements" under Writing JCL for the link-edit process for a detailed description of each of the data sets included in the cataloged procedures discussed in this topic. See Overriding and adding to EXEC statements for instructions about overriding DD statements in cataloged procedures.