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

REXX to identify change in JCL by Automation


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

Active User


Joined: 29 Jun 2005
Posts: 155

PostPosted: Fri Aug 24, 2012 2:39 pm
Reply with quote

Hi ,

Iam writing Rexx to automate a set of TEST jobs for one application and i have done it and it is working .As part of automation we have wriiten a set of Delete / define step for GDG and Delete for NON-GDG files using IDCAMS in One Job and this Job will be executed as first job as part of automation . This step will have all files defined in all test jobs .

For every time if there is change in JCL to have new file GDG/ NON GDG in any job i need to add this in first job (DEL/DEF job) . Is that possible to have rexx to deduct the change (only any new file added ) and write it accordingly for GDG/ NON GDG .

Can any one please assist/ advise me to proceed with this ?
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Fri Aug 24, 2012 2:51 pm
Reply with quote

Your description is as clear as mud!

Show us what you're doing and/or want to do.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Aug 24, 2012 3:10 pm
Reply with quote

Quote:
Can any one please assist/ advise me to proceed with this ?


yes.

assign only one person to be responsible for changing your precious jobs.
if that person fails to make the appropriate additions to control center,
otherwise known as the DEL/DEF job
have that person thrashed and placed in stocks in the middle of the operations center.
that will insure the next person to take on this sacred responsibility,
will be properly motivated.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Aug 24, 2012 4:54 pm
Reply with quote

Quote:
Is that possible to have rexx to deduct the change (only any new file added ) and write it accordingly for GDG/ NON GDG .


as usually the answer is .. it depends,

You will have to parse the <jcl's> determine which datasets are to be <processed> ( added to the delete define jcl/step )
and... voila' le jeux sont faites

if You have the skills and the time it' s pretty easy...
but , is it worth the effort ???
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 24, 2012 5:23 pm
Reply with quote

Quote:
As part of automation we have wriiten a set of Delete / define step for GDG and Delete for NON-GDG files using IDCAMS in One Job
At first, how was this done? How did you you 'choose' these files?

Manually? If not, you already have your answer, I believe.
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