On 19 May 2010 07:47:39 -0700, [email protected]
(Hunkeler Peter  , KIUP 4) wrote:

>>It didn't read right.   I'll just clean up the file on the Unix side.
>
>So then the program did not write variable length records. The record
>format (RECFM) is usually declared within the program, so you can't
>override if from JCL.

I changed it in the CoBOL and JCL.   But when it was opened using
Ultra-Edit, the lines were offset.

So I went back to fixed length.   The other change I did was to move a
field from the end of the record to the start, and I compressed the
anecdotal data, creating spaces at the end.   When I FTPd the fixed
length file, I was delighted to discover that the file on the Unix box
was variable length, without trailing spaces.   I believe we are using
CA's FTP.

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