Jcl New (4) | Complete - SERIES |
The NEW parameter is almost always used within the three-part DISP structure: DISP=(status, normal-disp, abnormal-disp) . : DISP=(NEW,CATLG,DELETE) Creates the file. Keeps/catalogs it if the job succeeds. Deletes it if the job fails. Temporary storage : DISP=(NEW,PASS) Creates a file for use in a later step of the same job. Shortened version : DISP=NEW Defaults to (NEW,KEEP,KEEP) for permanent files. Critical Requirements
: The job fails if a data set with that name already exists. Syntax and Examples jcl new (4)
: Attributes like Record Format (RECFM) and Logical Record Length (LRECL). Common Errors The NEW parameter is almost always used within
: You must usually provide space and DCB attributes. abnormal-disp) . : DISP=(NEW
: The user ID must have "Alter" or "Create" RACF authority.