DD statements for the batch command facility (z/OS)
To format a new database file:
//userdb DD DSN=user.userdb,DISP=(NEW,disp),
// UNIT=disk,VOL=SER=nnnnnn,
// SPACE=(space)
To reformat an existing database file:
//userdb DD DSN=user.userdb,DISP=(OLD,PASS)
To format a new disk journal file:
//j1jrnl DD DSN=idms.j1jrnl,DISP=(NEW,disp), // UNIT=disk,VOL=SER=nnnnnn, // SPACE=(space)
To reformat an existing disk journal file:
//j1jrnl DD DSN=idms.j1jrnl,DISP=(OLD,PASS) Additional database and journal file assignments, as required
To format a new SYSTRK file:
//anydd DD DSN=user.systrkn,DISP=(NEW,disp), // UNIT=disk,VOL=SER=nnnnnn, // SPACE=(space)
To reformat an existing SYSTRK file:
//anydd DD DSN=user.systrkn,DISP=(OLD,PASS)
|
userdb |
DDname of the database file |
|
user.userdb |
Data set name of the database file |
|
disp |
Disposition of the new file (CATLG, KEEP, or PASS) |
|
disk |
Symbolic device name of the file being formatted |
|
nnnnnn |
Volume serial number of the file being formatted |
|
space |
Space allocation for the file being formatted |
|
j1jrnl |
DDname of the disk journal file |
|
idms.j1jrnl |
Data set name of the disk journal file |
|
anydd |
Target DDname specified in the FORMAT SYSTRK statement |
|
user.systrkn |
Data set name of the SYSTRK file |
Central version
To execute FORMAT AREA and FORMAT SEGMENT under the central version, modify the JCL shown previously as follows:
//SYSCTL DD DSN=idms.sysctl,DISP=SHR
|
sysctl |
DDname of the SYSCTL file |
|
idms.sysctl |
Data set name of the SYSCTL file |
|
Copyright © 2014 CA.
All rights reserved.
|
|