In each member i have some set of records.
I need to get 3 characters from the input record if the starting letter is M.
I need to get these characters from all pds members.
from one member means i can give the below jcl
Code: Select all
//FIXBCBAD EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=C000214.TEST.PDS(MEm1),DISP=SHR
//SORTOUT DD DSN=C000214.TEST.PS4,DISP=SHR
//SYSIN DD *
INCLUDE COND=(1,1,CH,EQ,C'M')
SORT FIELDS=COPY
OUTREC FIELDS=(2:3,2)
//*
what i need to give
Thanks,