I am trying to display PD value into my JCL but it is giving 00.
//SORT001 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=CS.DH6D.DATE.file,DISP=SHR
//SORTOUT DD DSN=CS.DH6D.test,
// DISP=(,CATLG,DELETE),...
//SYSIN DD *
OPTION COPY
OUTFIL BUILD=(1:72,2,PD,TO=ZD,LENGTH=4)
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=CS.DH6D.DATE.file,DISP=SHR
//SORTOUT DD DSN=CS.DH6D.test,
// DISP=(,CATLG,DELETE),...
//SYSIN DD *
OPTION COPY
OUTFIL BUILD=(1:72,2,PD,TO=ZD,LENGTH=4)
Input file data as it is comp field(BI)
00
04 ,
00
03
while executing the job , i am getting 0000 in my output file.
Please suggest how to get the correct data ?