Page 1 of 1

eliminate low values and copy

PostPosted: Mon Sep 29, 2008 10:12 pm
by ranga_subham
Hi,

I have an input file with millions of records. I want to eliminate all the records that have low-values starting at position 379 (length is 6).

Please suggest a SORT card for this........

Thanks.

Re: eliminate low values and copy

PostPosted: Mon Sep 29, 2008 10:45 pm
by Alissa Margulies
Try this:
//SYSIN DD *
  SORT FIELDS=COPY
  OMIT COND=(379,6,BI,EQ,6X'00')
/*

or you can specify
   OMIT COND=(379,6,BI,EQ,X'000000000000')

Re: eliminate low values and copy

PostPosted: Tue Sep 30, 2008 4:35 pm
by ranga_subham
Alissa, Thank you very much........it worked....... :D
Bye.