Ibm Mainframes: Cobol Training Class-13
Ibm Mainframes: Cobol Training Class-13
//
SPACE=(TRK,(1,1),RLSE),UNIT=SYSDA,VOL=SER=S7SYS1,
//
DCB=(DSORG=PS,LRECL=36,BLKSIZE=0,RECFM=FB)
//
DDNAME LINK
EMPDD IS THE DD-NAME that was used in the SELECT STATEMENT
with-in the application program
We use this DDNAME here in JCL to link our logical file name
which we used in the program with the physical name of
the file.
//EMPDD DD
DSN=FSS197.COBOL.EMPPS
Disposition
File status
Action on successful termination
Action on abnormal termination
Syntax
CATLG,UNCATLG,DELETE,PASS,KEEP
Disposition Parameter
Ex DISP=(NEW,CATLG,DELETE)
DISP=(OLD,CATLG,CATLG)
VOLUME=SER= VOL-NAME
UNIT=SYSDA/SYSALLDA
SPACE=(TRACK,(PQ,SQ,DB),RLSE)
DCB PARAMETER
SYNTAX
DCB=(DSORG=PS/PO,LRECL=36,RECFM=FB,BLKSIZE=0)
LRECL : logical record length the value is the exact length that our
record length is.
Thank You