View previous topic :: View next topic |
Author |
Message |
bolineni ravi Beginner
Joined: 29 Jun 2006 Posts: 4 Topics: 3
|
Posted: Fri Jun 30, 2006 9:07 am Post subject: REXX utility...... |
|
|
Hi all,
I was asked to develop a utility in REXX which takes input as program name and library name(where program resides) in main screen. And the output needs to be on the new screen in which the following details needs to be displayed.
1) what copybooks are used by the program
2) total number of lines in the program
3) what are all the called programs
4) how many calls for DB2/CICS modules.. and so on...
I am very new to REXX. And i need to start from scratch...I am working under TSO environment..
Could you please help me out which books should help me in this regard for developing screens and develop programs using REXX.
I am waiting for ur reply...
Always thanking you,
Ravi. |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
|
Back to top |
|
 |
raji229 Beginner
Joined: 07 Aug 2006 Posts: 5 Topics: 2
|
Posted: Mon Aug 07, 2006 6:50 am Post subject: |
|
|
HI bolineni ravi,
Even I am looking for such kind of a software component which would identify the called programs,copybooks..do you have any strategy or some methodology to accomplis this..
Pls share it with me if you know. Thanks in advance |
|
Back to top |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Mon Aug 07, 2006 9:47 am Post subject: |
|
|
Ravi,
I can't understand two things in your question:
Quote: |
4) how many calls for DB2/CICS modules.. and so on...
|
And why do you need the library name?
Quote: |
library name(where program resides)
|
________
Mercedes-Benz W124 specifications
Last edited by coolman on Sat Feb 05, 2011 1:46 am; edited 1 time in total |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Aug 07, 2006 12:49 pm Post subject: |
|
|
This type of software is available commercially already. See http://www-306.ibm.com/software/os/zseries/ztransform/wsaa.html for one that does this quite well.
If you want to write your own, I believe you will find that parsing is not always trivial, but the easiest way may be to use the ISPF editor and a set of macros. Or you may be able to run the module through the compiler with appropriate options and scan the listing. In addition, if you are really searching for 'lines of code' instead of lines in the program file, then 1) you need to define what a line of code is and 2) the person who asked you to do this is an idiot because lines of code is a useless metric. |
|
Back to top |
|
 |
|
|