FTP of Binary file to mainframe.
5 pts.
0
Q:
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?
ASKED: Aug 7 2009  3:17 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
235 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 z/OS Communications Server IP User's guide.

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 Answered: Aug 11 2009  9:40 AM GMT by Dzs   235 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0