I think that I know the answer to this, but I'll ask here. Suppose that
I have an input file with variable length records. I use OPTION VLSHRT.
I then have a couple of OUTFIL statements, similar to:

 SORT FIELDS=COPY
 OPTION VLSHRT
 OUTFIL FNAMES=FILE1,INCLUDE=(27,1,CH,EQ,C'A',OR,50,2,CH,EQ,C'BC')
 OUTFIL FNAMES=FILE2,INCLUDE=(99,2,CH,EQ,C'ZD')

Suppose that I have a record which is 90 bytes long. It contains an "A"
in column 27 and a "BC" in column 50 (Yes, I know about the +4 for VB
records, that's been taken into account).

For some reason, the person thinks that because the second OUTFIL "goes
beyond" the length of the record, that the first OUTFIL will fail as
well. So he ran two separate SORT steps which did the equivalent of the
above.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
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