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

Migrate a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Aug 13, 2009 1:43 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Thu Aug 13, 2009 2:17 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top