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
 

 

Share your best REXX tool concepts
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Share your best REXX tool concepts
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

Moderator


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

PostPosted: Wed Oct 17, 2012 7:27 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Oct 17, 2012 7:30 pm    Post subject: Reply to: Can you please share your best REXX tool concepts?
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

Moderator Team Head


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

PostPosted: Wed Oct 17, 2012 8:08 pm    Post subject: Reply to: Can you please share your best REXX tool concepts?
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: 7914
Location: Bellevue, IA

PostPosted: Wed Oct 17, 2012 8:20 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Oct 17, 2012 8:34 pm    Post subject: Reply to: Can you please share your best REXX tool concepts?
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

Site Director


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

PostPosted: Wed Oct 17, 2012 9:38 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Oct 17, 2012 10:09 pm    Post subject: Reply to: Can you please share your best REXX tool concepts?
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

Moderator


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

PostPosted: Wed Oct 17, 2012 10:34 pm    Post subject:
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: 1445
Location: Azeroth

PostPosted: Wed Oct 17, 2012 10:41 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Wed Oct 17, 2012 10:49 pm    Post subject: Reply to: Can you please share your best REXX tool concepts?
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: 641
Location: Whitby, ON, Canada

PostPosted: Wed Oct 17, 2012 11:05 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Oct 18, 2012 5:36 am    Post subject: Reply to: Can you please share your best REXX tool concepts?
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 18, 2012 11:26 am    Post subject:
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

Moderator


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

PostPosted: Thu Oct 18, 2012 11:35 am    Post subject:
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

Active Member


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

PostPosted: Thu Oct 18, 2012 3:02 pm    Post subject:
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    Post subject: Re: Reply to: Can you please share your best REXX tool conce
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

Senior Member


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

PostPosted: Wed Jan 09, 2013 11:54 pm    Post subject: Reply to: Can you please share your best REXX tool concepts?
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: 1219
Location: Israel

PostPosted: Thu Jan 10, 2013 8:29 pm    Post subject:
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Interface from Mainframe to Confluenc... hblun CLIST & REXX 4 Tue Sep 20, 2016 5:47 pm


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