Wednesday, June 07, 2006

Different ways for coding DCB parameter

DCB=*.ddname - While performing operations like SORT, REPRO, etc. :
Ex: The DCB parm for the output file for SORT can be coded as
DCB=*.SORTIN ( where SORTIN is the DD name for the input file for SORT)

DCB=*.stepname.ddname - Requests that the DCB parameter be copied from the DD statement "ddname" found in the same step "stepname"
Ex: DCB=*.STEP2.DD1

DCB=*.procexec.stepname.ddname - Requests that the DCB parameter be copied from DD statement "ddname" found in the previous step "stepname" found within a procedure "procexec" (name of EXEC statement invoking the procedure.)
Ex: DCB=*.PR1.STEP2.DD1

No comments: