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.
Related Q&A from Robert Crawford
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
CICS expert Robert Crawford discusses if a program can use IXLLIST macros in CICS when IXLLIST are APF.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.