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

Rexx tool to capture all the migrated dataset used by a job


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vithiyalan

New User


Joined: 15 Nov 2011
Posts: 6
Location: India

PostPosted: Tue Nov 15, 2011 5:18 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Nov 15, 2011 5:30 pm
Reply with quote

OK, you have made a statement here, so good luck, and off you go then
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 15, 2011 5:34 pm
Reply with quote

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 icon_cool.gif

but ...
if You want people spend time helping You,
You will have to learn to post questions in a better way icon_evil.gif
Back to top
View user's profile Send private message
Vithiyalan

New User


Joined: 15 Nov 2011
Posts: 6
Location: India

PostPosted: Tue Nov 15, 2011 5:54 pm
Reply with quote

Hi

can you suggest me some ways of getting it implemented

Thanks
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Nov 15, 2011 5:57 pm
Reply with quote

Search the forums for "migrated" and see if any discussions are any use to you.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 15, 2011 5:59 pm
Reply with quote

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
View user's profile Send private message
Vithiyalan

New User


Joined: 15 Nov 2011
Posts: 6
Location: India

PostPosted: Tue Nov 15, 2011 6:08 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 15, 2011 6:22 pm
Reply with quote

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 icon_cool.gif
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Nov 15, 2011 7:24 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Tue Nov 15, 2011 7:28 pm
Reply with quote

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
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Nov 15, 2011 7:52 pm
Reply with quote

Hi...
You can use HLIST command.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top