On 12 Dec 2006 15:00:11 -0800, in bit.listserv.ibm-main
(Message-ID:<[EMAIL PROTECTED]>)
[EMAIL PROTECTED] (Schramm, Rob) wrote:
I think DFSORT can do this.. but I don't see it in the
manual.. or I am
missing it. I want to take an input file lrecl=11 and
output lrecl=15
so that the records are joined.
The input records
record 1: 123 456 789
record 2: abc def ghi
record 3: jkl mnop qr
would become output records like..
record 1: 123 456 789 abc
record 2: def ghi jkl qr
The way I'd probably do it is to make sure the input
file had a blocksize of a multiple of 165 (copy it to one
such, if necessary). Then read it specifying LRECL=15. As
long as you know you'll have a multiple of 15 bytes in the
total file, this should work. You could use DFSORT,
IEBGENER, or any program that uses QSAM.
--
I cannot receive mail at the address this was sent from.
To reply directly, send to ar23hur "at" intergate "dot" com
----------------------------------------------------------------------
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