- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: about ftp between z/os and hpux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 08:09 AM
08-18-2010 08:09 AM
about ftp between z/os and hpux
we are now using hpux as ftp server and putting a large file from z/os to hpux.
in this case, JCL with the PROGRAM of FTP is used. however, it fails about this command 'put xx,xx,0,5000,5000,798'. because in the JCL, the 'put' command only has two parameters, local file and remote file.
so the question is how can we put a large file from z/os to hpux through ftp with space parameter being indicated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 09:45 AM
08-18-2010 09:45 AM
Re: about ftp between z/os and hpux
> file from z/os to hpux through ftp with
> space parameter being indicated?
Why is this an HP-UX question? So far as I
know, the HP-UX FTP server doesn't care about
the file size.
> [...] it fails about this command 'put
> xx,xx,0,5000,5000,798'. because in the JCL,
> the 'put' command only has two parameters,
> local file and remote file.
So, why are you specifying more (size?)
parameters there?
If you need advice about the z/OS FTP client,
then you might get better info sooner if you
start at ibm.com instead of at hp.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 10:00 AM
08-18-2010 10:00 AM
Re: about ftp between z/os and hpux
If you are putting it to HP-UX, no space parm is needed. The file will extend to the 2 Gb if largefiles aren't enabled or to the filesystem or quota limits.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 10:01 AM
08-18-2010 10:01 AM
Re: about ftp between z/os and hpux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 04:42 PM
08-18-2010 04:42 PM
Re: about ftp between z/os and hpux
yes, we do need to transfer a file larger than 2GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 05:58 PM
08-18-2010 05:58 PM
Re: about ftp between z/os and hpux
> than 2GB.
Fine, but that will either work or not,
according to conditions at the server.
There's nothing which you need to do (or
which you can do) at the client to change
those conditions.
So, again, why the extra parameters?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 06:46 PM
08-18-2010 06:46 PM
Re: about ftp between z/os and hpux
Mainframes (IBM, Unisys/Burroughs, even MPE) have numerous file types and space pre-allocation requirements. Normally this is handled by JCL commands prior to the ftp program. However, because you are using two very different computers, you'll need the Z/OS translation into something HP-UX can understand.
If you are pushing the file from Z/OS to HP-UX, run the ftp command interactively and type ? or help after you login. You'll then see a list of commands supported by ftpd, the HP-UX server program.
Then use ftp on HP-UX and login to Z/OS and type ? or help. You'll then see what the Z/OS system supports.
ftp is the most common file transfer program between different OS types but you must always be aware of the differences in files between the two systems.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 07:12 PM
08-18-2010 07:12 PM
Re: about ftp between z/os and hpux
> MPE) have numerous file types and space
> pre-allocation requirements. [...]
Fine, but remember this?:
> we are now using hpux as ftp server and
> putting a large file from z/os to hpux.
> [...]
So, what does any of that "pre-allocation"
stuff on z/OS have to do with a file being
transferred from a z/OS FTP client to an
HP-UX FTP server?
> Then use ftp on HP-UX and login to Z/OS and
> type ? or help. You'll then see what the
> Z/OS system supports.
And then you'll see which commands the z/OS
FTP _server_ supports, which might be more
interesting if anyone were trying to use the
z/OS FTP server. But apparently no one here
is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2010 10:01 PM
08-18-2010 10:01 PM
Re: about ftp between z/os and hpux
What kind of file? A text or a binary file?
If you need larger than 2 Gb, then you need to make sure your target filesystem has large files enabled:
fsadm -F vxfs /dev/vg00/rlvol3
largefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2010 03:52 AM
08-19-2010 03:52 AM
Re: about ftp between z/os and hpux
The IBM z/os FTP program has two parts a server and a client .
When a z/os JCL deck is used to send a file to another system the FTP client is called and the connection is established with the remote sever which does most of the work. (in this case hp-ux)
The command set supported is them mostly controlled the facilities in the remote server. The IBM client will automatically perform EBCDIC to ASCII conversions as well support for the double byte character sets used for Chinese and other far eastern languages.
The space allocation parameters are dependent on the facilities in the target system. Unix hp-ux normally does not allocate space on a per file basis . So providing there is enough space in the target file system and large files are supported the command
assuming the data set is catalogued at the z/os end and the mount point at the hp end exists and has enough space and you have the correct permissions .
put 'MYTOPLEV.BIG.FILE' /mydata/largefilesystem/mynewbigfile
should work.
If you need to enable character set conversions strip or blanks ASA print characters . These are controlled by toggle switches and locsite commands before the put is issued
Some confusion may exist since IBM have added a large number of extensions to the site command (as permitted by the RFC) to cope with the special requirements (e.g. size and format) and exploit the features of z/OS .
The site or locsite command is issued before the put or get .
The hp-ux server only implements a few things on site such as umask and chmod
To access the IBM FTP documentation
http://www-03.ibm.com/systems/z/os/zos/bkserv/
choose the z/os level you are running
once the java window opens with the drop downs
choose communications server (click the plus sign )
then choose z/OS Communications Server IP User's Guide and Commands
chapters 3 4 and 5 reveal all
chapter 17 of the IP and SNA Codes book explains all the standard FTP errors as noted in the RFC (plus some IBM extras ).
I hope this is of some help
Mike