× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I�d appreciate that as well, maybe also with a marker displaying the
SR/SubProcedure against the line numbers in the outline view?



I�ve had similar issues, where I�m looking at all occurrences of a
variable within a program, and I want to see if the variable is being
edited within the same SR as another occurrence.



The only way I have found to check this is to:



1. Choose an instance of the variable

2. Find the begsr or endsr of the subroutine it is in

3. use ctrl+shift+o to mark the block nesting of the SR

4. Use outline view to switch between variables

5. Start again when you reach an occurrence which is not in the
same SR.



It�s quite time consuming



Aaron





From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> [mailto:WDSCI-L
<wdsci-l-bounces@xxxxxxxxxxxx>] On Behalf Of Robert Rogerson
<rrogerson@xxxxxxxxxxx>
Sent: 14 October 2016 15:04
To: Websphere Development Studio Client for iSeries
<wdsci-l@xxxxxxxxxxxx> <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] What subroutine am I in?



Hi all,

I'm using RDi 9.5.1.

When I'm looking at a field in an RPG program sometimes it would be
helpful to know the subroutine I'm in.

For example, if I'm looking for where a field is set I usually do
this...

Open the member in a second window. In the first window I scan for all
occurrences of the variable which allows me to see where the variable
is
set. But this only shows me the line number so in the second window I
navigate to the line number from the first window to see the
surrounding code. But my issue is that I still don't know what
subroutine I'm in without scrolling up to find the Begsr statement.

I have to maintain a lot of (older) code that regularly contains rather
large subroutines so scrolling up to find the Begsr slows me down.

For me, what would be nice would to be able to see immediately what
subroutine I'm in. Is there a way to do this I'm not aware of? If
there isn't, would anyone else find the display of the subroutine for
the current line be useful? Can anyone share how they tackle this issue
currently.

Thanks,

Rob


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.