IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Copy a PDS to other system using FTP


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
Search our Forums:

Back to Top