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
 

 

How to migrate a number of files in one shot?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> HomeWorks & Requests
View previous topic :: :: View next topic  
Author Message
GaganGarg

Active User


Joined: 31 Mar 2010
Posts: 134
Location: India

PostPosted: Wed Mar 31, 2010 5:15 pm    Post subject: How to migrate a number of files in one shot?
Reply with quote

Please let me know how to kigrate a numer of files in one shot resinding on a particular volume? e.g. if volume serial number is TST**, then is there any way to migrate all the files residing on these volume?
Back to top
View user's profile Send private message

Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 94
Location: India

PostPosted: Thu Apr 01, 2010 12:36 pm    Post subject: Reply to: How to migrate a number of files in one shot?
Reply with quote

Try this :

Code:


//STEP01   EXEC PGM=IKJEFT01           
//SYSTSPRT DD SYSOUT=*                 
//SYSTSIN  DD *                       
  HMIGRATE ('AAAAAAAA.BBBBBBB1') NOWAIT
  HMIGRATE ('AAAAAAAA.BBBBBBB2') NOWAIT
/*                           


You can migrate number of datasets at one shot, specifying the DSName in the JCL. HMIGRATE doesn't support migrating datasets based on volume.
Back to top
View user's profile Send private message
GaganGarg

Active User


Joined: 31 Mar 2010
Posts: 134
Location: India

PostPosted: Mon Apr 05, 2010 8:57 am    Post subject: Reply to: How to migrate a number of files in one shot?
Reply with quote

Thanks a lot. icon_biggrin.gif
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: Mon Apr 05, 2010 1:23 pm    Post subject:
Reply with quote

Click HERE to see another way to do this.
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 -> HomeWorks & Requests All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm


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