This seems to have been addressed in 9.x at least - I'm using 9.1, and if there is an existing block, and I hit enter on the IF, it does not insert the ENDIF.


On 7/10/2014 2:36 PM, Craig Pelkie wrote:
Mike/Vern

Thanks for uncovering that.

The automatic closure is a good thing when working with new code, but I'm
retrofitting some existing code. The auto closure was getting annoying,
since the END statements either needed to be deleted or relocated.

Craig Pelkie

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Soucy, Mike
Sent: Thursday, July 10, 2014 6:03 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries'
Subject: Re: [WDSCI-L] How to suppress auto insert of ENDIF, ENDDO

Hi Craig,

I can't speak for WDSC 7.0 because I don't have it on my PC, but I do have
WDSC 6.0 for supporting legacy Webfacing applications. In WDSC 6.0 under
Window > Preferences if drill down through Remote Systems > iSeries > LPEX
Editor Parsers > ILERPG, there is an option to select whether or not you
want automatic closure of control block and a pull down to select the style
of closure you want. The pull down seems to offer all the different
permutations that are possible. I would presume that the same option must
exist in WDSC 7.0. Hopefully IBM didn't move it in WDSC 7.0. Good luck!

Michael Soucy

-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Craig
Pelkie
Sent: Thursday, July 10, 2014 1:48 AM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries'
Subject: [WDSCI-L] How to suppress auto insert of ENDIF, ENDDO

Using WDSC 7.0


In free-format RPG, when I enter an "if" or "do" statement, the editor
generates the corresponding "ENDIF" or "ENDDO".


How can I suppress the auto generation of the END statements? (Side note,
how can I get it to insert as lower-case, i.e., "endif" or "enddo").


Thanks

Craig Pelkie




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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.