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 IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs?continue reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology.continue reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible?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.