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

How to migrate a number of files in one shot?


IBM Mainframe Forums -> HomeWorks & Requests
Post new topic   Reply to topic
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
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: 93
Location: India

PostPosted: Thu Apr 01, 2010 12:36 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Apr 05, 2010 1:23 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> HomeWorks & Requests

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top