5 pts.
 FTP of Binary file to mainframe.
I have a binary file on a UNIX box that I need to ftp to a mainframe as RECFM=FB and LRECL=180. How do I format the ftp script?

Software/Hardware used:
ASKED: August 7, 2009  3:17 PM
UPDATED: August 11, 2009  9:40 AM

Answer Wiki:
On z/OS, the FTP SITE and LOCSITE commands have a few extra options for 'traditional' z/OS files (as apart from z/OS UNIX files). They're documented in the <a href="http://publib.boulder.ibm.com/infocenter/zos/v1r9/index.jsp?topic=/com.ibm.zos.r9.halu001/site.htm">z/OS Communications Server IP User's guide</a>. So from your remote UNIX machine, you could use the FTP command SITE RECFM=FB LRECL=180. If this doesn't suit, another option is to pre-allocate the dataset on z/OS. Hope this helps.
Last Wiki Answer Submitted:  August 11, 2009  9:40 am  by  Dzs   235 pts.
All Answer Wiki Contributors:  Dzs   235 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _