MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

REXX utility......

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
bolineni ravi
Beginner


Joined: 29 Jun 2006
Posts: 4
Topics: 3

PostPosted: Fri Jun 30, 2006 9:07 am    Post subject: REXX utility...... Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Fri Jun 30, 2006 9:23 am    Post subject: Reply with quote

z/OS V1R7.0 TSO/E REXX Reference.

z/OS V1R7.0 TSO/E Command Reference.

z/OS V1R7.0 ISPF Dialog Developer's Guide.

z/OS V1R7.0 ISPF Edit and Edit Macros.

z/OS V1R7.0 ISPF Services Guide.
Back to top
View user's profile Send private message
raji229
Beginner


Joined: 07 Aug 2006
Posts: 5
Topics: 2

PostPosted: Mon Aug 07, 2006 6:50 am    Post subject: Reply with quote

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
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Mon Aug 07, 2006 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Mon Aug 07, 2006 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group