Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Question concerning FTP from z/OS

 
Crazy Water
Occasional Visitor

Question concerning FTP from z/OS

I have a question concerning FTP. I am on a z/OS system and I am FTPing into a OpenMVS system. I am issuing an MGET command to get all files that start with MRX*.* . The MGET command uses the file name on OpenMVS to create the dataset name on the mainframe. The problem is that there is a ;1 at the end of all file names when you do a LS command on OpenMVS and the MGET is seeing that as part of the filename. The ;1 is an illegal dataset name on the mainframe and the FTP fails.

So my question is what is the ;1 and can anything be done about it to maybe suppress it?

Hopefully this question makes sense, I am not a OpenMVS person. Any help will be greatly appreciated.

Bruce
6 REPLIES 6
Karl Rohwedder
Honored Contributor

Re: Question concerning FTP from z/OS

Depending on the TCPIP stack used on the VMS side, there may be SET commands or logical names to prevent the transmission of the version numbers.
E.g. the HP TCP/IP Services stack suppresses the version numers when defining:

$ DEFINE /SYSTEM/EXEC TCPIP$FTP_NO_VERSION 1

regards Kalle
Crazy Water
Occasional Visitor

Re: Question concerning FTP from z/OS

Thanks very much for the quick response. I will pass this info on and see what can be done...

Bruce
Crazy Water
Occasional Visitor

Re: Question concerning FTP from z/OS

One more question...this change that you passed on to me, I assume this change is to the entire OS environment, so anyone that uses this version number would be affected?

Bruce
labadie_1
Honored Contributor

Re: Question concerning FTP from z/OS

Yes a define/system is for all the users, but you can put in the login.com of the user Tcpip$ftp (which starts the FTP server) a more modest
$ define...
(the same as Kalle cited, but without the /system)
Steven Schweda
Honored Contributor

Re: Question concerning FTP from z/OS

> [...] I assume this change is to the entire
> OS environment, [...]

Yup.

If anyone has ported wget to z/OS, you might
be able to use it to do the job more easily, but I've never heard of it having been done.
(That's not a non-existence proof, however.)

You may need to create a more complex/capable
script/procedure to do the job. (Get a file
listing, process the names, fetch the files.)

> [...] I am not a OpenMVS person.

No one is. It's VMS. MVS is IBM.
Crazy Water
Occasional Visitor

Re: Question concerning FTP from z/OS

> [...] I assume this change is to the entire
> OS environment, [...]

Yup.

If anyone has ported wget to z/OS, you might
be able to use it to do the job more easily, but I've never heard of it having been done.
(That's not a non-existence proof, however.)

You may need to create a more complex/capable
script/procedure to do the job. (Get a file
listing, process the names, fetch the files.)

> [...] I am not a OpenMVS person.

>No one is. It's VMS. MVS is IBM.

Thanks again for the response. Obviously a typo, I am an MVS person so that explains my desire to type MVS... HA!