Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Copy a PDS to other system using FTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
mahi_naidu

New User


Joined: 29 Aug 2005
Posts: 5

PostPosted: Mon Oct 03, 2005 3:44 pm    Post subject: Copy a PDS to other system using FTP
Reply with quote

Hi all,
I have a pds which is having 100 members in a system A and i need to copy entire pds(all members) to system B. using FTP we can do ,but i need to specify all the members(1000 mebers). Is there any option to move PDS to PDS with one statement.

thanks in advance.

regards,
Naidu
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Oct 03, 2005 4:04 pm    Post subject: Re: About FTP
Reply with quote

Did you use the MPUT command?
Back to top
View user's profile Send private message
saurabhu

New User


Joined: 20 Sep 2005
Posts: 11
Location: Chennai

PostPosted: Mon Oct 03, 2005 7:56 pm    Post subject: clarify
Reply with quote

Hi

clarify if u need 100 member or 1000 members to be FTP'ed
I am not sure abt pds to pds ( as this is not related to FTP at all it is just copy from pds to pds using JCL utlity IEBcopy)

but if u want to FTP to a server u can Use PUT/Mput commant followed by the PDS name in quotes and then the text file name of the destination file to be stored in the server. This is though for data files only.

Regards
Saurabh
Back to top
View user's profile Send private message
mahi_naidu

New User


Joined: 29 Aug 2005
Posts: 5

PostPosted: Tue Oct 04, 2005 1:47 pm    Post subject: About FTP
Reply with quote

Hi saurabhu,
i am using as below. but i need to FTP 1000 members.i don't want to code 1000 PUT/GET commands. can u let me know is there any option to do in 1 PUT/GET commands.

//******************************************************************
//STEP0010 EXEC PGM=FTP,REGION=4096K,PARM='(EXIT=12)'
//******************************************************************
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
10.128.0.16
CFSGKK
12FINA
GET 'CMT.PRODCT.APDNPULL.ACCTENT(mem1)' 'XT1.SMS.GMS.ACCTENT.FTP(mem1)' QUIT
/*

Thanks,
Naidu
Back to top
View user's profile Send private message
Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Sat Oct 08, 2005 8:52 am    Post subject:
Reply with quote

Hi,
Can't this be automated? How about REXX? Experts,help!
Regards,
Sridevi.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us