View previous topic :: View next topic
|
Author |
Message |
Gopalakrishnan V
Active User
Joined: 28 Jun 2010 Posts: 102 Location: chennai
|
|
|
|
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 |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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
Not much thought at all - just what can be gotten free quickly? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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
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
as an alternative the TS can search for my jcl reformatter/beautifier |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
You can find some here
Code: |
http://home.roadrunner.com/~mvsrexx/REXX/ |
Google is your friend |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
May be a hint like write rexx programs to write cobol programs |
nahh better a rexx program to ask intelligent question |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
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.
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
ezio vin
New User
Joined: 16 Aug 2012 Posts: 44 Location: india
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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"
|
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
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 |
|
|
kushal Bothra
New User
Joined: 16 Feb 2011 Posts: 38 Location: Gurgoan
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
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... |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
|