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: 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 FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

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