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
 

 

Migrate a dataset

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

New User


Joined: 04 Jun 2009
Posts: 30
Location: Bangalore

PostPosted: Thu Aug 13, 2009 1:38 pm    Post subject: Migrate a dataset
Reply with quote

How we can deliberately Migrate a dataset after processing/using it in a JOB
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: Thu Aug 13, 2009 1:43 pm    Post subject:
Reply with quote

Using a batch TSO step, under SYSTSIN DD *
Code:

 HMIG 'dataset name'


Just curious as to why you would need to do this.

Is it an input or output dataset. Do you require backups before migration.
Back to top
View user's profile Send private message
Furor

New User


Joined: 04 Jun 2009
Posts: 30
Location: Bangalore

PostPosted: Thu Aug 13, 2009 2:10 pm    Post subject: Reply to: Migrate a dataset
Reply with quote

This needs to be done for the input datasets,the requirement is for some 2500 prodcution data sets.Just to reduce on the Disk space we have been asked to do this.
We used
Code:
 HSEND MIGRATE ' data set name ' ML2
....
It didnt work ...just stated
Quote:
COMMAND REQUEST XXX SENT TO DFSMSHSM
Similar to what happened with command HMIG.

May be it is shop dependent, any idea how much time it would take migrate the dataset using this command.
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: Thu Aug 13, 2009 2:17 pm    Post subject:
Reply with quote

It shows that the request has been poassed to HSM successfully

How big is the dataset
What else is HSM doing right now,
How many other requests are queued infront of yours
Has someone held miration to tape

Lots of questions that only your storage people can answer.
Back to top
View user's profile Send private message
Furor

New User


Joined: 04 Jun 2009
Posts: 30
Location: Bangalore

PostPosted: Thu Aug 13, 2009 2:29 pm    Post subject: Reply to: Migrate a dataset
Reply with quote

That is true Expat...It is the storage people who need to answer these queries...On doing TSO HQ..the following message is getting displayed:
Quote:
QUERY USER COMMAND STARTING ON HOST=2
MIGRATE MWE FOR DATA SET XXX FOR USER YYYY,
(CONT.) REQUEST 00045404, WAITING TO BE PROCESSED, 00000 MWE(S) AHEAD
(CONT.) OF THIS ONE

I'll talk to the right people for this..Thanks for your advise.
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 Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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