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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


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