Help in FTP a PDS.

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
utkarsh
Registered Member
Posts: 73
Joined: Fri Jun 21, 2013 10:32 pm
India

Help in FTP a PDS.

Post by utkarsh »

I need to FTP an entire PDS. I have successfully done the FTP for a file but how to go for a PDS?

Code: Select all

???.??.???.?? (exit=40 
userid 
passwd 
cd foldername 
put 'THE.PDS(*)' 
quit 
PDS has 70+ memebers. Could you please help me with this?
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Help in FTP a PDS.

Post by nicc »

What environment are you FTPing to?
Regards
Nic
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 832
Joined: Wed Sep 11, 2013 3:57 pm

Re: Help in FTP a PDS.

Post by enrico-sorichetti »

the operating system used on the local and remote are pretty much irrelevant for the FTP logic
( given that both support the same data types )

on the system where You are issuing the FTP command - the local system

cd to the directory where You want to carry on the operation ( get/put)

remember that on ZOS a PDS can be seen from the unix side as a directory

cd /first_qalifier
cd second_qualifier
cd ... ...

issue an ls command and You will see the member list

issue the ftp command

now the ftp shell is on the remote file system

as You have done on the local system
issue the commands

cd /first_qalifier
cd second_qualifier
cd ... ...

prompt

mget *
or
mput *

as needed

...

You can even FTP load modules between systems
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Help in FTP a PDS.

Post by nicc »

And if the output is wanted on Windoze? It doesn't know about PDSes.
Regards
Nic
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 832
Joined: Wed Sep 11, 2013 3:57 pm

Re: Help in FTP a PDS.

Post by enrico-sorichetti »

same logic Nic!

a PDS name is logically equivalent to a PATH

ENRICO.ISPF.EXECS

could be mapped to ( Linux/Darwin ) - absolute
/ENRICO/ISPF/EXECS

or wanting to respect the PREFIX logic ( LINUX Notation )
$HOME/ISPF/EXECS

where $HOME is the path for the user things
/home/enrico on linux
/Users/enrico on Darwin

and the members would just be files in directory

but really what counts is the equivalence on the MVS side
on the PC no need to have a formal structure of the path
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
utkarsh
Registered Member
Posts: 73
Joined: Fri Jun 21, 2013 10:32 pm
India

Re: Help in FTP a PDS.

Post by utkarsh »

Ithink I was missing the double quotes around the PDS name. Giving them it worked for me.
RSchreiber
New Member
Posts: 2
Joined: Thu Nov 19, 2015 9:36 pm

Re: Help in FTP a PDS.

Post by RSchreiber »

I recommend that you try WS*FTP. It works really well with z/OS and z/VM. It is not free, but well worth the money.

http://http://www.ipswitchft.com/ws-ftp-client

I have no relationship with this company. Just a happy user.
RSchreiber
New Member
Posts: 2
Joined: Thu Nov 19, 2015 9:36 pm

Re: Help in FTP a PDS.

Post by RSchreiber »

In my previous post I recommended WS*FTP. Its a fine product but its not what I use with z/OS and z/VM.

I use Filezilla and its free.

"Nevermind"
User avatar
Anuj Dhawan
Founder
Posts: 2807
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Help in FTP a PDS.

Post by Anuj Dhawan »

RSchreiber wrote:In my previous post I recommended WS*FTP. Its a fine product but its not what I use with z/OS and z/VM.

I use Filezilla and its free.
Are you saying that you use Filezilla for FTP, with zOS and windows? I've not tried Filezilla with zOS but if it is allowed at your shop, it's a very interesting preposition!
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”