Jcl New (4) Apr 2026
Attention: We have retired the IIS.NET Community Blogs. Learn more >

Jcl New (4) Apr 2026

: The job crashes if the DSN is already on the volume.

: The user ID must have "Alter" or "Create" RACF authority.

: The job fails if a data set with that name already exists. Syntax and Examples jcl new (4)

💡 : Use DISP=(MOD,CATLG) if you aren't sure if the file exists; it will create the file if it's missing or append to it if it's there. To help you build a complete JCL step, tell me: The file name you want to create The record length (LRECL) or block size The storage type (Disk vs. Tape)

: Forgetting the SPACE parameter results in a JCL error. : The job crashes if the DSN is already on the volume

: You must usually provide space and DCB attributes.

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 Syntax and Examples 💡 : Use DISP=(MOD,CATLG) if

The parameter defines a data set's status as it is being created. It is the first sub-parameter of the DISP (Disposition) keyword. Key Characteristics Purpose : Tells the system to create a new data set.

: The job crashes if the DSN is already on the volume.

: The user ID must have "Alter" or "Create" RACF authority.

: The job fails if a data set with that name already exists. Syntax and Examples

💡 : Use DISP=(MOD,CATLG) if you aren't sure if the file exists; it will create the file if it's missing or append to it if it's there. To help you build a complete JCL step, tell me: The file name you want to create The record length (LRECL) or block size The storage type (Disk vs. Tape)

: Forgetting the SPACE parameter results in a JCL error.

: You must usually provide space and DCB attributes.

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 parameter defines a data set's status as it is being created. It is the first sub-parameter of the DISP (Disposition) keyword. Key Characteristics Purpose : Tells the system to create a new data set.