View previous topic :: View next topic
|
Author |
Message |
Vithiyalan
New User
Joined: 15 Nov 2011 Posts: 6 Location: India
|
|
|
|
Hi everyone,
I want to write a rexx tool that captures the datasets used by a job whose status is migrated.
Thanks |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
OK, you have made a statement here, so good luck, and off you go then |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I want to write a rexx tool that captures the datasets used by a job whose status is migrated. |
OK... nice to know what You are doing
but ...
if You want people spend time helping You,
You will have to learn to post questions in a better way |
|
Back to top |
|
|
Vithiyalan
New User
Joined: 15 Nov 2011 Posts: 6 Location: India
|
|
|
|
Hi
can you suggest me some ways of getting it implemented
Thanks |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Search the forums for "migrated" and see if any discussions are any use to you. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I want to write a rexx tool that captures the datasets used by a job whose status is migrated.
....
can you suggest me some ways of getting it implemented |
do You have a doctor' s prescription to write a tool when You do not have the slightest idea from where to start ?
describe better the whole logic
where will You get the dataset names to check
how will the info be used afterwards
why do You feel You have the need to write such a <useless> tool
honestly the chances of getting help are really pretty slim
ps ...
do You realize that the issue is not checking if a dataset is migrated or not ?
but to extract form a <jcl> the dataset names, and what about those parametrized thru a proc ??? |
|
Back to top |
|
|
Vithiyalan
New User
Joined: 15 Nov 2011 Posts: 6 Location: India
|
|
|
|
I have hundred's of dataset to be recalled before submitting a job. Normally i would copy all the dataset that are migrated and put them in the hrecall jcl.
So i thought of writing a rexx tool that captures all the migrated datasets, loads them into hrecall JCL. Felt like this makes my taks easier
Thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
So i thought of writing a rexx tool that captures all the migrated datasets, |
You keep repeating Yourself...
from where are You going to collect the required dataset list?
if You keep on like this the topic is going to be locked and deleted pretty soon
this is a help forum, not a do it for me one... if You do not know how to start, You should not be doing it |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Vithiyalan wrote: |
Hi
can you suggest me some ways of getting it implemented
Thanks |
Call LISTDSI for each data set and check SYSREASON to see if it is migrated. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Why not let the system recall the datasets when the job calls for them? Why are they migrated anyway if they are still required for processing. This seems to be a regular task for you and not a one-off so speak to your storage guys to find out if you should use different storage classes. |
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Hi...
You can use HLIST command. |
|
Back to top |
|
|
|