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 to identify change in JCL by Automation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
balaji81_k

New User


Joined: 29 Jun 2005
Posts: 86

PostPosted: Fri Aug 24, 2012 2:39 pm    Post subject: REXX to identify change in JCL by Automation
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

Active Member


Joined: 07 Feb 2009
Posts: 989
Location: Oostende, Belgium

PostPosted: Fri Aug 24, 2012 2:51 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Fri Aug 24, 2012 4:54 pm    Post subject: Reply to: REXX to identify change in JCL by Automation
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

Senior Member


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

PostPosted: Fri Aug 24, 2012 5:23 pm    Post subject:
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    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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


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