View previous topic :: View next topic |
Author |
Message |
NorthernDancer Beginner
Joined: 01 May 2007 Posts: 44 Topics: 22 Location: DOWNTOWN BUFFALO, NY
|
Posted: Wed Dec 02, 2015 5:39 pm Post subject: FTP TRANSMIT FROM PC TO z/OS |
|
|
Is anyone quite familiar with Sending a file from a PC up to a Mainframe z/OS system ?? I'm quite OK with the reverse direction using GET 'mainframe dsname' xxxxxxxx.csv for example. I know it is PUT but cannot remember the order exactly. But it could be PUT xxxxxxxx.csv 'mainframe dsname' like that. But here's the other need. What are the parameters to specify the DCB to be created ? For example, I have a User EXCEL sheet that is 3000 bytes. So I want to make sure that RECFM=FB,LRECL=3000,BLKSIZE=27000 gets applied. And then how do you tell it how much SPACE in TRKS to use ?? THX |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Dec 03, 2015 1:17 pm Post subject: |
|
|
NorthernDancer,
Updated the original post with tested FTP commands and list of parameters that can used.
Here is a rexx exec to find out the IP address of your mainframe
Code: |
/* REXX */
PARSE VALUE SOCKET('INITIALIZE', 'TEST') WITH RC . . SERVER
PARSE VALUE SOCKET('GETHOSTID') WITH RC IP
SAY IP
EXIT |
_________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|