Edmund,
Using RDI 9.5, I notice some of my formatted code was moved to column-06, by the RDi 9.5 formatter.
So, some of my code such as Dcl-ds PreMsg, thinks it is a "D-Spec", because the letter "D" in the Punch-Card Column-06.
Here is a snap-shot from RDI 9.5
http://tinyurl.com/nu2gy7q
Here is a snippet of code in Text, which will probably wrap "weird" on the RDI web-site sadly...:
.....DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++++++++++++++++++Comments++++++++++++
C076 dcl-ds PreMsg Qualified; // C05
So... the Verifier is treating this like invalid code. Because of the "D" at punch-card Column-06.
<Big Frown>
Hopefully, this will help you fix the formatter!
PS. RDI 9.5 seems to work great for me, when not using the new formatter anyway... <Big Smirk>
I must admit, that my code has right-hand comments. Probably threw the formatter off, since I am willing to bet, that was not one of the test scenarios that IBM/RDi used to test the formatter. <chuckle chuckle>
Oh well, as long as it gets fixed, for those who do NOT have great 3rd party tool like the RPG Toolbox.
Thanks Edmund!
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Wednesday, September 23, 2015 4:46 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
Edmund,
I am working with Alex at IBM support. They allow me to send screen prints. So, I sent screen shots of the SQL Errors. <grin>
And I sent support the entire source file too, with the extension. ".SQLRPGLE" too... <grin>
Sadly, I did not send the DDL for our files. I could do that, but it "sort of" a lot of work. But, if needed, I will do it! <Big Smile>
I am developer too, so I want to help in any way that I can. Just let me know! GO RDI 9.5!!!!
<Big Geek Smile>
PS. It does NOT stop me from using RDi 9.5, because I use the RPG toolbox. I just wanted to test it, and see how the RDI 9.5 formatter compared to the RPG Toolbox conversion... <smirk>
Man, I just realized how much I LOVE SNICKERS! <evil smirk>
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Edmund Reinhardt
Sent: Wednesday, September 23, 2015 4:16 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
That is what I was afraid of, please add a comment to the PMR about the SQL issues, so we look at that as well.
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 09/23/2015 10:40 AM
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but
pretty good!
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Sadly, I "jump the gun" on saying this was resolved. I admit I errored in reporting prematurely that this was "resolved". <sorry>
After running the IBM formatter, my code no longer compiles okay. For some strange reason, the compiler now fails on my previously working embedded SQL Statements. I must assume that the "FORMATTER" changed something.
It is still push comment lines from colum-08 to colum-06 on long statement lines. That go past column 80.
Oh well, I will work with IBM support to get this resolved. I will send them my code, so hopefully they could duplicate and fix the problem.
I am NOT worried, since I already have the RPG Toolbox. But, still IBM should fix it, since it should NOT break code.
Thanks
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Wednesday, September 23, 2015 6:56 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
Wow! Ran into Edmund, and he knew about my formatting problem...
On RDi 9.5
I change the indent from 1 -100, instead of *MAX. And then the indenter works fine, no issues! Cool! I thought I had to be missing something.
I will notify IBM support on my PMR, later that I guess this can be closed.
Thanks!
PS. So many great features update in RDi 9.5, now I am drooling for the next update. Love this RDI IDE! It makes programming fun, fast, efficient, and more important, enjoyable!
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Monday, September 21, 2015 3:51 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
Hi,
I wanted to mention that the "FORMATTER" Ctrl+Shift+F did NOT actually get RDi 9.5 to blow up...
But, AFTER running the "Formatter", which includes tons of Right-hand comment past column 80. It blew up AFTER I did the Ctrl+Shift+V, "VERIFY".
That is when RDI 9.5 crashed/blew-up.
I sent screen prints to IBM support for the PMR 35067,442 Formatter cause RDI to crash. It was AFTER I did the Verify, after the formatter. Just to clarify.
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Monday, September 21, 2015 10:22 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
Edmund,
I followed procedure, and open a PMR#35067,442 for the formatter crashing RDI on one my huge programs with right hand comments, that extend past column 80. Which I assume is the cause of the blow up.
I will work with IBM support, and send them code, that I was able to crash RDI.
Thanks for reminding me to report, so it can be resolved!
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Monday, September 21, 2015 8:45 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
Edmund,
Sure, I will do that later privately...
Just don't critic the code... <LOL>
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Edmund Reinhardt
Sent: Friday, September 18, 2015 9:13 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
Ken,
On a separate note I was not able to reproduce the crash when doing the verify. Could you send me the offending source member?
Thanks
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 09/18/2015 07:20 PM
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect,
but
pretty good!
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
I decide to test the new built in RPGLE "formatter", a.k.a. Ctrl+Shift+F, and it failed BIG time on one my biggest programs with over 6,400 lines.
It does not like right-hand comments, which I happen to use a ton of those!
It gave my program approximately 1,000 plus errors...
Let me elaborate in simple terms....
Starting in column-8, I put "//" followed by all "*" through the end of punch card to column 100.
When using the formatter, it Shift that code LEFT to approximately column-6. <LOL>
Then I tried to do verify, just to see how many errors it found. Then surprise! RDI 9.5 BARFED! <LOL> Java was started but returned exit code=8096.
I guess the Formatter was only designed to handle the old fashion punch-card with 80-columns, not to 100 columns, like most of us have for our QRPGLESRC. Defined as 112, 6-seq, 6-date, 100-source.
<Maniacal Laughter> :)
No worries for me, I will continue to use the Linoma RPG Tool Box plug-in, which works... <grin>
So, for those coders, who do NOT go past the 80-columns, maybe the formatter will work find for you... <snicker snicker>
Oh well, over all, I am pleasantly please with this release.
PS. I am eating a snickers bar right now, no worries! <Big Smile>
-Ken Killian-
-----Original Message-----
From: WDSCI-L [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Ken Killian
Sent: Friday, September 18, 2015 6:12 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries
Subject: Re: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
Cool, I found the formatting options...
Window>Preference>Remote Systems>Remote Systems LPEX>IBM I Parsers>ILE
RPG>Formatter....
You can change the number of spaces to indent. I knew it was thee some where. I have Developer friends who do not have a 3rd party inventor like Linoma. So, this will be good to share!
-Ken Killian-
-----Original Message-----
Subject: [WDSCI-L] RDi 9.5 indenter not too bad. Not perfect, but pretty good!
RDi 9.5 built in indenter, Ctrl+Shift+F, is not too bad. It is not perfect, and pretty good for the first pass...
It gets just a smidge confused when trying to indent code with right hand comments. No biggie, but different.
Sadly, because it updates the indent, it also updates all the source dates too...
I like the Linoma RPG Tool box/plug in, it has the option *NOT* to update the source dates, when just updating the code indentation. And since it has been doing code indentation a lot longer, it is more refined.
But, my test run of the built indenter is a lot better than no indenter!
This will be an excellent start for those without a 3rd party plug-in.
Thanks IBM!
-Ken Killian-
--
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.
--
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.
--
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.
--
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.
--
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.
--
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.