ctrevino wrote:well, the x9.37 format is a bunch of variable length records most of which have
set fixed format 80 records but set in between these records are images that are variable in length. I have not worked with variable records in years so I feel kinda dumb.
They have set up the format to include the length at the beginning but they do not define a set limit to the length.
I want to ftp the file up to the mainframe from a non-mainframe server
. Do I do it as binary, ascii, or just leave it alone?
Then how do I define the dcb for this file so I can save off a gdg copy.
Then I need to ftp it on to another non-mainframe server.
You must use binary, as ASCII FTP translations are frequently irreversible. As for the receiving format, FB/80/27920 would be OK and allows you to see everything on one screen with Browse, and on later z/OS releases, you van give the command "DISPLAY ASCII", to make sense of it.