On Tue, 1 Jul 2014 14:26:39 -0700, Frank Swarbrick wrote:

>That works!� Don't even need the VLSCMP,VLSHRT options because you're just 
>looking at the first two bytes.� Didn't even occur to me to do this to look at 
>the record length.� Thanks!
 
Depends on how you want to deal with trailing blanks.


________________________________
 From: Sri h Kolusu
To: [email protected] 
Sent: Tuesday, July 1, 2014 12:59 PM
Subject: Re: copy omiting blank lines

You can use the following DFSORT control cards to omit records with short 
length then the key length of 13. (9 + 4 bytes RDW)

//SYSIN� � DD * 
� OPTION VLSCMP,VLSHRT 
� OMIT COND=(1,2,BI,LE,13) 
� SORT FIELDS=(5,9,CH,A) 
//* 
Don't anyone try to tell me that UNIX commands are recondite!

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to