Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8631
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 Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us