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

Share your best REXX tool concepts


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

Active User


Joined: 28 Jun 2010
Posts: 102
Location: chennai

PostPosted: Wed Oct 17, 2012 7:23 pm
Reply with quote

Hi all,

You might be created a REXX tool which is really using in your project and minimizing the manual effort also increasing the productivity..

Can you please share the concepts of those tools and how it is using?

Thanks in advance icon_smile.gif
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Wed Oct 17, 2012 7:27 pm
Reply with quote

If you could tell what is needed we might help

No one would be happy to share their "own works" for free ;) Atleast I wont

Also would suggest to talk to peers to identify what is actually needed and what might be useful for project and for you ;)
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 17, 2012 7:30 pm
Reply with quote

Quote:
Can you please share the concepts of those tools and how it is using?


one of the most unclear questions ever asked ...

there is a need
the proper <tool> is acquired(*) to satisfy the need
it will be used when/how according to the need/documentation
amen

(*)
acquired for an outside source
developed in house
according to some requirement/fulfillment/expenditures/budgetary evaluation


Quote:
You might be created a REXX tool which is really using in your project

what makes You thing that a tool developed somewhere might fit in Your organization ?


PS.

since I posted it on this forum

I needed to process/receive on my PC the IDTF XMIT datasets
I wrote MY unxmit tool
that' s all, simple.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Oct 17, 2012 8:08 pm
Reply with quote

When we go to create a new job, it can be difficult to determine what the next available jobname will be. So I created a simple little REXX exec and ISPF dialog task that prompts the user for the type of job required, loops through a table of potential jobnames, checks the Test/UAT and Production libraries for an existing name and, if not found in either, creates a new job with a basic template and opens it in ISPF EDIT.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Oct 17, 2012 8:20 pm
Reply with quote

I don't think the question is very well thought out. If someone posts REXX code to do something with Changeman (or ZEKE or CA-7 or ....) and your site does not have that particular software -- what good does the REXX code do you? Even if your site has the software, Endevor for example, is customized for each site so REXX code to interact with Endevor might require more changes to work at your site instead of where it came from, than it would require to rewrite the code from scratch.

And then there is copyright law and intellectual property considerations to take into account.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 17, 2012 8:34 pm
Reply with quote

Quote:
And then there is copyright law and intellectual property considerations to take into account.
good shot, I completely forgot about that

anyway the IP issue is at least murky ..

for employees the buzzwords are
employer's time/employer's equipment

for consultants the contract

for IBM employees the issue was even more murky
it would extend also to work done on the employee time and employee equipment

where the equipment included naturally the toilet bowl icon_wink.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 17, 2012 9:38 pm
Reply with quote

Hello,

Quote:
Can you please share the concepts of those tools and how it is using?
Quote:
I don't think the question is very well thought out.
Might be that i oversimplify, but the way i read this, TS is asking who anyone has "any neat stuff" to post it . . . and explain how it is used icon_neutral.gif

Not much thought at all - just what can be gotten free quickly?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 17, 2012 10:09 pm
Reply with quote

Quote:
TS is asking who anyone has "any neat stuff" to post it .

I posted a link to a very neat tool ( neat for my needs, at least )
the TS mileage might vary
from me he got what he implied icon_cool.gif

PS.
for a test I UNIXMITted successfully all the ( about 800 ) CBT files,
recursing into each one to process also the included XMITs
preserving with the proper extension and content XMI, DOC, PDF, ZIP, OBJ files
( ovbiously skipping the recfm U stuff )

and that' s what I call neat icon_wink.gif

as an alternative the TS can search for my jcl reformatter/beautifier
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Wed Oct 17, 2012 10:34 pm
Reply with quote

It would be better if Ts gives proper justification to his peers or who asked to think about tools or value adds which might closely related


May be a hint like write rexx programs to write cobol programs
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed Oct 17, 2012 10:41 pm
Reply with quote

You can find some here
Code:
http://home.roadrunner.com/~mvsrexx/REXX/


Google is your friend
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 17, 2012 10:49 pm
Reply with quote

Quote:
May be a hint like write rexx programs to write cobol programs


nahh icon_wink.gif better a rexx program to ask intelligent question icon_cool.gif
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Wed Oct 17, 2012 11:05 pm
Reply with quote

Ask me to do a boring, repetitive task once, and I will do it the hard way. Ask me to do it again, and I will try to find a way to automate it.

One recent task I was asked to do consisted of submitting over 2,000 utility jobs. The job submission was already automated, but verifying the return codes required me to manually scroll through SDSF looking for unusual return codes.

The next time I had to do the task, I wrote a Rexx program to examine the job output and copy the problematic jobs to a PDS for later investigation. Only took 36 lines of code.

icon_cool.gif
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Oct 18, 2012 5:36 am
Reply with quote

I wrote a rexx program that invokes the ISRSUPC utility to search for text. You can invoke it as a line command from ISPF option 3.4. It displays the the results and then you can 'zoom' in on any line - it will open the right member and go to the selected line.
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Thu Oct 18, 2012 10:29 am
Reply with quote

i created some rexx routines. its not much complex but very usefull and we use it in our daily routine of course it will considerably reduce your effort and time you spend

few of them are listed below i hope this will help

REXX Tool to delete all PDS created in a job, view PDS, copy from tape to disk, create test job, collect file details for specific user id and delete it, to restore migrated datasets.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Oct 18, 2012 11:26 am
Reply with quote

Pandora-Box wrote:
No one would be happy to share their "own works" for free ;) Atleast I wont

Hardly the attitude for a help forum icon_confused.gif
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Thu Oct 18, 2012 11:35 am
Reply with quote

Expat,

I said that as it might be infringement to intellectual property.

Also I wanted the TS to know what is the best fit

If there was some arrogance in my post "Apologies"

icon_redface.gif
Back to top
View user's profile Send private message
prino

Senior Member


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

PostPosted: Thu Oct 18, 2012 3:02 pm
Reply with quote

Many moons ago I found this Generate REXX-Code as HTML and found that it was buggy, and so I decided to try to write an improved version. When that was working OK, I decided that it would be fun to write similar execs for other (legacy) languages and the results can be found in File # 769 R. Prins' edit macros to convert code/text into HTML on the CBTTape.org site.

Do the routines serve a purpose?

Probably a bit. I know of at least one person who uses them to put his execs on his website in an ISPF like format and they might also be useful if you need to do a presentation without having access to z/OS.

Other than that? They were fun to write, gave me some insight into parsing languages and even allowed me to actually improve on IBM's handling of JCL - EHIJCL correctly parses all JCL, including SYSIN embedded JCL, something the ISPF editor cannot handle correctly! EHISUPC is still a work in progress, although is can now handle most of the LINE compare output.

And as they were built on the work of others, I decided that sharing(*) them via the CBT Tape site was the best thing to do, and I actually went a bit further and made them available under the provisions of the GPL V3, ensuring that the code would always be free!

(*)"The intrinsic value of software is zero" (WL van de Poel, one of my old profs at the Technical University of Delft)
Back to top
View user's profile Send private message
kushal Bothra

New User


Joined: 16 Feb 2011
Posts: 38
Location: Gurgoan

PostPosted: Tue Jan 08, 2013 11:29 am
Reply with quote

Pedro wrote:
I wrote a rexx program that invokes the ISRSUPC utility to search for text. You can invoke it as a line command from ISPF option 3.4. It displays the the results and then you can 'zoom' in on any line - it will open the right member and go to the selected line.



Can you please share the idea and how you did it ...
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Jan 09, 2013 11:54 pm
Reply with quote

Quote:
Can you please share the idea and how you did it ...

There are several concepts. Can you be more specific about what you need help with?

1. I wrote a rexx program that:
2. invokes the ISRSUPC utility to search for text.
3. You can invoke it as a line command from ISPF option 3.4.
4. It displays the results and
5. then you can 'zoom' in on any line -
6. it will open the right member and
7. go to the selected line.

Note: I wrote it before the SF and SFE line commands were available in the DSLIST display. You might wish to just use those line commands.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Thu Jan 10, 2013 8:29 pm
Reply with quote

Quote:
May be a hint like write rexx programs to write cobol programs

Hey! I almost did that!
I didn't finished because it was a own-free-time project, and I don't really have free time... icon_sad.gif
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Thu Jan 10, 2013 8:46 pm
Reply with quote

Yes we generally do that when there is some dull period

Yea there are lot more we can do using REXX

1.Creating Rexx to create templates of programs
2.Create Rexx to create templates of jobs
3.Create Rexx to create DB2 utility jobs ( 100% can be created ) if a standard nomenclature is followed
4.Create Rexx to check unused variables
5.Create Rexx to check on program standards
6.Create REXX using ISPF to create miniature version of DB2 ADMIN /PLATINUM / BMC TOOL
7.Create a Rexx macro to generate displays after para/section names with para/section names on execution it could be use to identify the program flow
etc

Edit : Again as I stated already you need to find out what is the best needed for your shop
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Jan 10, 2013 9:09 pm
Reply with quote

Make REXX call CA7's built-in JCLCHECK to check for JCL errors. It is basically same as the JCLCHECK product.
So you don't have to buy JCLCHECK product separately = profit$$
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