View previous topic :: View next topic
|
Author |
Message |
balaji81_k
Active User
Joined: 29 Jun 2005 Posts: 155
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
Your description is as clear as mud!
Show us what you're doing and/or want to do. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|