Sorting 119 type 70 records
Posted: Tue Feb 16, 2016 2:28 am
I am trying to do a sort where I pull out only the 119 type 70 records (FTP Server) from my SMF datasets. I created the following SORT JCL but for some reason I am still getting all the records.
Anyone see what I am doing wrong....
//COPY EXEC PGM=SORT
OPTION COPY,VLSHRT,TRUNC=RC0,SPANINC=RC4
//SYSOUT DD SYSOUT=*
//SORTIN DD DISP=SHR,BUFNO=20,
// DSN=MYMVS.SMF.D16042
//SORTOUT DD DISP=(NEW,CATLG,DELETE),&ODCB,&OCLS,&OSPC,DSN=&ODSN
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(6,1,BI,EQ,119,&,23,2,BI,EQ,70)
//*
OPTION COPY,VLSHRT,TRUNC=RC0,SPANINC=RC4
//SYSOUT DD SYSOUT=*
//SORTIN DD DISP=SHR,BUFNO=20,
// DSN=MYMVS.SMF.D16042
//SORTOUT DD DISP=(NEW,CATLG,DELETE),&ODCB,&OCLS,&OSPC,DSN=&ODSN
//SYSIN DD *
SORT FIELDS=COPY
INCLUDE COND=(6,1,BI,EQ,119,&,23,2,BI,EQ,70)
//*
Anyone see what I am doing wrong....