Page 1 of 1

Delete blank reocrds.

Posted: Wed Jul 30, 2014 12:08 pm
by Bethany
Hi,

I've got a file which has some blank records as shown below:

Code: Select all

aaaaaaaa bbbbbbbb

ccccccc 
ddddddddd

eeeeeeeeeeeee
ffffff
If input is (rec. length = 80). How to delete all blank records in a file?

Re: Delete blank reocrds.

Posted: Wed Jul 30, 2014 6:54 pm
by zprogrammer
Delete blank records is also Omitting blank records from Copy

Hence try this

Code: Select all

 SORT FIELDS=COPY
 OMIT COND=(1,80,CH,EQ,C' ')