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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Rexx tool to capture all the migrated dataset used by a job
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: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 15, 2011 5:30 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Nov 15, 2011 5:34 pm    Post subject: Reply to: Rexx tool to capture all the migrated dataset used
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7236

PostPosted: Tue Nov 15, 2011 5:57 pm    Post subject: Reply to: Rexx tool to capture all the migrated dataset used
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Nov 15, 2011 5:59 pm    Post subject: Reply to: Rexx tool to capture all the migrated dataset used
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Nov 15, 2011 6:22 pm    Post subject: Reply to: Rexx tool to capture all the migrated dataset used
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: 1738
Location: Bloomington, IL

PostPosted: Tue Nov 15, 2011 7:24 pm    Post subject:
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: 1715
Location: UK

PostPosted: Tue Nov 15, 2011 7:28 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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