Page 1 of 1

Rexx/Clist to auto-build IEFBR14 for JCL

Posted: Wed Feb 13, 2013 7:20 pm
by 20sam13
I am looking for a Clist/Rexx exec that will auto build an IEFBR14 (Step00) at the top of my JCL or Proclib member.

Idea is to scan the member in edit mode, find all of the DSN= dd cards that have a disp that would create a file from the JCL/Proclib and create the various IEFBR14 dd cards to delete these files at the top of the JCL/Proclib.

Would need to work with either "hard coded" file name or "symbolic" file names.

Thanks!

Re: Rexx/Clist to auto-build IEFBR14 for JCL

Posted: Sat May 16, 2015 2:47 am
by c_l_phillips72
20sam13 wrote:I am looking for a Clist/Rexx exec that will auto build an IEFBR14 (Step00) at the top of my JCL or Proclib member.

Idea is to scan the member in edit mode, find all of the DSN= dd cards that have a disp that would create a file from the JCL/Proclib and create the various IEFBR14 dd cards to delete these files at the top of the JCL/Proclib.

Would need to work with either "hard coded" file name or "symbolic" file names.

Thanks!
I know this is a VERY old post, but as I've been searching for quite some time for the same thing, I've come across this post many times.

I decided a couple of days ago that I would probably never find pre-written code that would accomplish what I wanted, so I ended up writing it myself.

Fortunately for me (since I have no knowledge of REXX), my current company already had a tool written in REXX that did compares against lines of code and inserted some other lines that are used for debugging. I copied that tool in our TSO CMDS library and started making changes.

After a couple solid days of coding/tweaking, I finally have something that I think is going to work. If you're still looking for something, maybe you could do something similar.

Re: Rexx/Clist to auto-build IEFBR14 for JCL

Posted: Sat May 16, 2015 2:50 am
by c_l_phillips72
20sam13 wrote:I am looking for a Clist/Rexx exec that will auto build an IEFBR14 (Step00) at the top of my JCL or Proclib member.

Idea is to scan the member in edit mode, find all of the DSN= dd cards that have a disp that would create a file from the JCL/Proclib and create the various IEFBR14 dd cards to delete these files at the top of the JCL/Proclib.

Would need to work with either "hard coded" file name or "symbolic" file names.

Thanks!
Did you used to work at DST Systems in KC? That's where I worked that had that tool, and I just took it for granted. Now I know how great of a tool that was!

Topic deleted by Admin

Posted: Thu Jan 21, 2016 12:08 pm
by academyindia4
<< Content deleted By Admin >>