> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
> Behalf Of Howard Brazee
> Sent: Monday, March 17, 2008 9:52 AM
> To: [email protected]
> Subject: Merge - exclude blank lines
> 
> I have a job that merges two files.   One of those files was empty in
a
> run (or produced a blank line), and the merged file started off with a
> blank line.
> 
> That blank line made the subsequent job abort (thinking the file was
> empty).   I could change that program or maybe change the sort to
> eliminate that blank line.
> 
> How would I change this sort?
> 
> MERGE FIELDS=(3,49,A,
>                1,2,A,
>                52,15,A),
>                FORMAT=CH,SIZE=E100000

  OMIT COND=(1,2,CH,C'  ')

HTH

Peter
This message and any attachments are intended only for the use of the addressee 
and
may contain information that is privileged and confidential. If the reader of 
the 
message is not the intended recipient or an authorized representative of the
intended recipient, you are hereby notified that any dissemination of this
communication is strictly prohibited. If you have received this communication in
error, please notify us immediately by e-mail and delete the message and any
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to