Sorry Charles, when I finally was able to get onto the web site, I see I had
already voted for it.


"Anybody still have to deal with TAGs & GOTOs? New RFE..."
https://archive.midrange.com/wdsci-l/201611/msg00025.html

If so, vote for my RFE
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=96699

Charles

On Tue, Mar 21, 2017 at 10:06 AM, Jim Hawkins <jhawkins@xxxxxxxxxxxx>
wrote:

I know no one uses GOTO anymore but one of my predecessors wrote a lot
of code using RPGII style (conditioning indicator, goto, etc.) in
RPGIV format.
Found an issue this week that was losing information periodically that
I was able to fix without too much issue. But the code was littered
with "goto exit" statements. (This code was last updated in 1999 to
Y2k compliant).
I tried to find this EXIT in the outline view to see where all of
these were sending the logic flow. It took a while but I found it. Is
there a good way to find the where a GOTO is going to end up? I was
hoping to find them in outline view.
TIA
Jim Hawkins

--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.



-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of
wdsci-l-request@xxxxxxxxxxxx
Sent: Tuesday, March 21, 2017 1:00 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: WDSCI-L Digest, Vol 15, Issue 112

Send WDSCI-L mailing list submissions to
wdsci-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/wdsci-l
or, via email, send a message with subject or body 'help' to
wdsci-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
wdsci-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of WDSCI-L digest..."


*** NOTE: When replying to this digest message, PLEASE remove all text
unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. Un-filter a select number of lines (Charles Wilt)
2. Re: Un-filter a select number of lines (Tyler, Matt)
3. Re: Un-filter a select number of lines (Charles Wilt)
4. GOTO in Outline (Jim Hawkins)
5. Re: GOTO in Outline (Charles Wilt)


----------------------------------------------------------------------

message: 1
date: Mon, 20 Mar 2017 15:41:39 -0600
from: Charles Wilt <charles.wilt@xxxxxxxxx>
subject: [WDSCI-L] Un-filter a select number of lines

Ok,

So I used Find-->All to filter my source down to a handful of lines I was
interested.

However, I'd like to see a few lines after the line containing the string
filtered on.

Is there anyway to show just a few lines, rather than showing all the lines
up to the next match?

I've tried using the SEU XX command in conjunction, but that didn't seem to
play well.

Example, filtered on SomethingInteresting()

Line
903600+ SomethingInteresting();
904400+ SomethingInteresting();
960400+ SomethingInteresting();

Expanding 9036 is fine, as I want to see every line down to 9044. But I'd
like to see lines 904500 to 905200. Unfortunately, expanding 904400 shows
all lines down to 906400.

Thanks!
Charles


------------------------------

message: 2
date: Mon, 20 Mar 2017 21:49:16 +0000
from: "Tyler, Matt" <matt.tyler@xxxxxxxxxxxxxx>
subject: Re: [WDSCI-L] Un-filter a select number of lines

The biggest problem with using prefix commands is they don't work when the
code is collapsed from a search process. You have to expand the source
again to run a prefix command.

I don't do this but I tried the show view feature and it opened on a
selected line of code in expanded view. You have to close it each time but
it's not nothing.

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles
Wilt
Sent: Monday, March 20, 2017 3:42 PM
To: Websphere Development Studio Client for iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Un-filter a select number of lines

Ok,

So I used Find-->All to filter my source down to a handful of lines I was
interested.

However, I'd like to see a few lines after the line containing the string
filtered on.

Is there anyway to show just a few lines, rather than showing all the lines
up to the next match?

I've tried using the SEU XX command in conjunction, but that didn't seem to
play well.

Example, filtered on SomethingInteresting()

Line
903600+ SomethingInteresting();
904400+ SomethingInteresting();
960400+ SomethingInteresting();

Expanding 9036 is fine, as I want to see every line down to 9044. But I'd
like to see lines 904500 to 905200. Unfortunately, expanding 904400 shows
all lines down to 906400.

Thanks!
Charles
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.


------------------------------

message: 3
date: Mon, 20 Mar 2017 15:54:16 -0600
from: Charles Wilt <charles.wilt@xxxxxxxxx>
subject: Re: [WDSCI-L] Un-filter a select number of lines

?Yeah that's useful in many cases...

Except what I'm trying to do? is collect some screen shots...

Having the second view open & showing all the lines after 904400 is a bit
overkill.

Charles

On Mon, Mar 20, 2017 at 3:49 PM, Tyler, Matt <matt.tyler@xxxxxxxxxxxxxx>
wrote:

The biggest problem with using prefix commands is they don't work when
the code is collapsed from a search process. You have to expand the
source again to run a prefix command.

I don't do this but I tried the show view feature and it opened on a
selected line of code in expanded view. You have to close it each
time but it's not nothing.

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of
Charles Wilt
Sent: Monday, March 20, 2017 3:42 PM
To: Websphere Development Studio Client for iSeries
<wdsci-l@xxxxxxxxxxxx>
Subject: [WDSCI-L] Un-filter a select number of lines

Ok,

So I used Find-->All to filter my source down to a handful of lines I
was interested.

However, I'd like to see a few lines after the line containing the
string filtered on.

Is there anyway to show just a few lines, rather than showing all the
lines up to the next match?

I've tried using the SEU XX command in conjunction, but that didn't
seem to play well.

Example, filtered on SomethingInteresting()

Line
903600+ SomethingInteresting();
904400+ SomethingInteresting();
960400+ SomethingInteresting();

Expanding 9036 is fine, as I want to see every line down to 9044. But
I'd like to see lines 904500 to 905200. Unfortunately, expanding
904400 shows all lines down to 906400.

Thanks!
Charles
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.



------------------------------

message: 4
date: Tue, 21 Mar 2017 12:06:39 -0400
from: "Jim Hawkins" <jhawkins@xxxxxxxxxxxx>
subject: [WDSCI-L] GOTO in Outline

I know no one uses GOTO anymore but one of my predecessors wrote a lot of
code using RPGII style (conditioning indicator, goto, etc.) in RPGIV format.
Found an issue this week that was losing information periodically that I was
able to fix without too much issue. But the code was littered with "goto
exit" statements. (This code was last updated in 1999 to Y2k compliant).
I tried to find this EXIT in the outline view to see where all of these were
sending the logic flow. It took a while but I found it. Is there a good way
to find the where a GOTO is going to end up? I was hoping to find them in
outline view.
TIA
Jim Hawkins



------------------------------

message: 5
date: Tue, 21 Mar 2017 10:20:13 -0600
from: Charles Wilt <charles.wilt@xxxxxxxxx>
subject: Re: [WDSCI-L] GOTO in Outline

"Anybody still have to deal with TAGs & GOTOs? New RFE..."
https://archive.midrange.com/wdsci-l/201611/msg00025.html

If so, vote for my RFE
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=96699

Charles

On Tue, Mar 21, 2017 at 10:06 AM, Jim Hawkins <jhawkins@xxxxxxxxxxxx> wrote:

I know no one uses GOTO anymore but one of my predecessors wrote a lot
of code using RPGII style (conditioning indicator, goto, etc.) in
RPGIV format.
Found an issue this week that was losing information periodically that
I was able to fix without too much issue. But the code was littered
with "goto exit" statements. (This code was last updated in 1999 to
Y2k compliant).
I tried to find this EXIT in the outline view to see where all of
these were sending the logic flow. It took a while but I found it. Is
there a good way to find the where a GOTO is going to end up? I was
hoping to find them in outline view.
TIA
Jim Hawkins

--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/wdsci-l.



------------------------------

Subject: Digest Footer

--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) digest list To post a message
email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.


------------------------------

End of WDSCI-L Digest, Vol 15, Issue 112
****************************************


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-2022 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.