----------------------------------<snip>----------------------
I think reading recfm u returns the length in register 1. If he writes
variable he will be responsible for the block and record prefixes. It
should be simpler to write fixed with a little blank padding.
----------------------------------<unsnip>-------------------------
IIRC, the actual record length is returned in the LRECL field of the
DCB, at least under QSAM. Specify a BLKSIZE of about !%), just in case
there's a long record, then move the returned record (using DCBLRECL as
the length) into a field of blanks, then do a PUT to another QSAM DCB
and you should be all set. Re-blank the area before moving the next
logical record into it, to prevent overlap from previous lines. Contact
me offline and I'll give you a really simple-minded program to do just
that.
----------------------------------------------------------------------
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