Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FTP To Mainframe: Allocate file space via UNIT

Status
Not open for further replies.

ruse7013

Programmer
Apr 10, 2003
25
US
OS: AIX 4.3

Scenario:
FTP a File to Mainframe. I want to allocate enough file space on the mainframe side with the UNIT parameter in the FTP command:

ftp> quote site lrecl=$LRECL unit=$UNIT blksize=$BLKSIZE pri=$PRI sec=$SEC cy

What are the options for $UNIT parameter? I need to specify "DISKS,9", or (DISKS,9). What is the correct syntax? Do I need to use a different parameter?

Thank you.
<ruse7013>

 
OS: AIX 4.3

Scenario: FTP from UNIX-AIX 4.3 to MVS

I tried this:

ftp> quote site lrecl=60 unit=DISK ucnt=5 blksize=27960 pri=1000 sec=500 cy

... but didn't work.

Any idea?

Thanks.
<ruse7013>
 
The quote subcommand of ftp means "I don't know what this means, but the server will."

Everything after the "quote" is sent verbatim to the server.

If the mainframe folks told you to use DISK,9 as your unit, it could be that all you have to do is:

ftp> quote site lrecl=60 unit=DISK,9 blksize=27960 pri=1000 sec=500 cy

I don't know. What I do know is that everything to the right of "quote" in that command is an MVS question, not an AIX one.

Sorry I couldn't be any more help.

Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top