View previous topic :: View next topic
|
Author |
Message |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
If all you need to see is your main program code and the code of the sub-program that is cuerrently the focus of your main program then why not use the basic facilities of an ISPF session - multiple screens, split or full screen?
In your initial requirement, how were you going to handle recursive programs? Did you even think about that? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
I came here expecting some solution to my problem |
I gave you useful feedback on your code.
You are welcome. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
|
|
Can you make a use of ISRLEMX ? |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
I did that, and much more...
When running the macro I show at the top of the program:
Code: |
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
-IPT- EDIT HLQ.DEV.COBOL(MYMNPROG) - 01.22 Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
==MSG> Found the following routines:
=NOTE= +----------------+----------------+----------------+----------------+
=NOTE= | CALL WRTTOLOG | CALL SOMEPROG | XCTL CICSPROG | |
=NOTE= +----------------+----------------+----------------+----------------+ |
MSG lines are hilighted (white), NOTE lines are normal (blue)
It is then easy to copy/paste the subprogram name, FIND it in the program or bringing it in edit (every site has its own macro for this). |
|
Back to top |
|
|
RahulG31
Active User
Joined: 20 Dec 2014 Posts: 446 Location: USA
|
|
|
|
@Chhandak: I don't have that handy but what you need to do is:
1. get the line data
2. parse line data to get the module name
3. view dataset by hardcoding the library name (where module resides) concatenated by member name you get from parse
4. map this macro with any function key
It's all available on the internet. If you face any problem in doing that, you may post on the forum. But first, you have to try. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
Back to top |
|
|
|