View previous topic :: View next topic
|
Author |
Message |
mahi_naidu
New User
Joined: 29 Aug 2005 Posts: 5
|
|
|
|
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 |
|
|
Kevin
Active User
Joined: 25 Aug 2005 Posts: 234
|
|
|
|
Did you use the MPUT command? |
|
Back to top |
|
|
saurabhu
New User
Joined: 20 Sep 2005 Posts: 11 Location: Chennai
|
|
|
|
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 |
|
|
mahi_naidu
New User
Joined: 29 Aug 2005 Posts: 5
|
|
|
|
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 |
|
|
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
|
|
|
|
Hi,
Can't this be automated? How about REXX? Experts,help!
Regards,
Sridevi. |
|
Back to top |
|
|
|