It might be easiest to convert the file to FB with LRECL=32756 prior to the FTP. A simple REXX program could be used. For example:
/* REXX */ "ALLOC FI(VBIN) DA('my.file.VB') SHR REUSE" "ALLOC FI(FBOUT) DA('my.file.FB') SHR REUSE" "EXECIO * DISKR VBIN (FINIS" queue '' "EXECIO * DISKW FBOUT (FINIS" "FREE FI(VBIN)" "FREE FI(FBOUT)" Exit 0
If you run this in batch you can allocate the files in JCL and don't need the ALLOC / FREE in the program.
Dig deeper on Mainframe operating systems and management
Related Q&A from Robert Crawford
The mainframe is IT's original cloud, and there are still ways to float cloud operations onto big iron today. But is it pragmatic?continue reading
With 3270 bridge, you can't stack input messages into one structure. The bridge can't process them all at once. It takes a little more work.continue reading
CICS expert Robert Crawford offers advice on determining the connection between CICS transactions and MQ Queue name.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.