Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

moving pds member to another location using jcl utilities?

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

New User


Joined: 30 Jan 2009
Posts: 8
Location: Manila

PostPosted: Fri Feb 20, 2009 2:52 pm    Post subject: moving pds member to another location using jcl utilities?
Reply with quote

Hi.. can anyone help me regarding moving alot of pds members to another pds location using a job?

for example:
test.pds.members(member1)
:
test.pds.members(memberN)

to be moved to

test.pds.newloc(memberN)


Thanks!
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Feb 20, 2009 2:56 pm    Post subject:
Reply with quote

IEBCOPY - found in the utilities manual.
Back to top
View user's profile Send private message
icemanster

New User


Joined: 30 Jan 2009
Posts: 8
Location: Manila

PostPosted: Sun Feb 22, 2009 5:43 am    Post subject:
Reply with quote

do you have any sample code using iebcopy to move pds members? Thanks!
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Sun Feb 22, 2009 5:54 am    Post subject:
Reply with quote

Quote:
Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....Mainframe....

needs study and work
Back to top
View user's profile Send private message
icemanster

New User


Joined: 30 Jan 2009
Posts: 8
Location: Manila

PostPosted: Sun Feb 22, 2009 6:21 am    Post subject:
Reply with quote

i checked qw and didn't see any description on using iebcopy to move pds members.. is there a way to do this? or do i just need to do the risky one.. copy it first then delete it from the previous location?

thanks!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Feb 22, 2009 6:35 am    Post subject:
Reply with quote

Hello,

First - Lose the current signature. . . A few mainframes in a line is plenty. . . icon_smile.gif

Second - at the top of the page is a ink to "IBM Manuals". One of the is the IBM JCL Utilities Guide for DFSMS which includes IEBCOPY.

If this is a one-time shot is there some reason you did not use tso/ispf (3.3 i believe)?

No matter how you do the copy, and subsequent delete, it would be a good idea to back up the pds first. . .
Back to top
View user's profile Send private message
icemanster

New User


Joined: 30 Jan 2009
Posts: 8
Location: Manila

PostPosted: Sun Feb 22, 2009 11:30 am    Post subject:
Reply with quote

thanks for the reply..

nope this is not a one time thing.. i do this every month.. and there are hundreds of members from different locations that needs to be deleted.. but in our case we just move the dataset for backup purposes. i have been doing it a couple of times and been using 3.3

has anyone done this sort of thing? if it would be not too much to ask, a sample code of this would be helpful. Thanks!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Feb 22, 2009 11:44 am    Post subject:
Reply with quote

Hello.

Did you look in the manual mentioned above? Did you look at the IEBCOPY examples? I believe you can copy the members you want by following example 3. This also has sample jcl that you almost completely replace for the specifics for your system.

If you find something that is not clear, post what you found and your question. Someone will be able to clarify.
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 Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Moving a PD to PD spoorni DFSORT/ICETOOL 8 Fri Oct 07, 2016 9:52 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us