It might be easiest to convert the file to FB with LRECL=32756 prior to the FTP. A simple REXX program could be...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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
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
What's the impact on I/O when you run in a CPU-constrained mainframe environment?continue reading
I need to transfer one PS file's data from a mainframe to a Linux server. Are there any JCL scripts that can do this for me?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.