×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Edmund,

So, since the Sql formatter does not put those variables in the outline view. It also break the >Refactor>Rename...
<disappointment>

So, the old Scan & replace works MUCH better than the Refactor/Rename... Since it does not work with variables in sql statement.

-Ken Killian-


-----Original Message-----
From: Ken Killian
Sent: Wednesday, March 14, 2018 12:02 PM
To: 'Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries' <wdsci-l@xxxxxxxxxxxx>
Subject: RE: [WDSCI-L] SQL Formatter - give me your poor huddled messes

Edmund,

The outline view & the toggle-marking-occurrences does not work with SQL...

Example:

**free
ctl-opt Debug( *Yes ) Option( *SrcStmt : *NoDebugIO : *SecLvl ) DftActGrp( *No ) ActGrp( *STGMDL ) BndDir('TOOLS') ;

dcl-s customer zoned(7);

customer = get_Order_customer(123456789);

*inlr = *on;
return;

dcl-proc get_Order_customer;
dcl-pi *n like(customer);
Order_number packed(9) const;
end-pi;

dcl-s customer zoned(7);

exec sql select Order_customer into : customer from order_file where order# = : Order_number;

return customer;

end-proc;


So the " : Customer" & ": Order_Number" are not show in the outline view.
Nor do they show in the Toggle-Mark-Occurrence. <disappointment>

Hope I do not need an RFE, for something that should work... <LOL>


-Ken Killian-


-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxx> On Behalf Of Edmund Reinhardt
Sent: Tuesday, March 13, 2018 6:21 PM
To: Wdsci-L <wdsci-l@xxxxxxxxxxxx>
Cc: Ken Guo1 <Ken.Guo1@xxxxxxx>
Subject: [WDSCI-L] SQL Formatter - give me your poor huddled messes



Hi Everybody
I have somebody who is getting deep into the bowels of the SQL Formatter code to fix an APAR. This is some non-trivial code and now that we have somebody up to speed on it, it would be a good time to address all of the pain points you are all feeling with the SQL Formatter.
I have heard (and seen) some pretty poor formatting, so if you can send me the EXEC SQL statements to ken.guo1@xxxxxxx. We might have a chance to address some of these issues.

Thanks


|
|
|Edmund Reinhardt
|
|Rational Developer for i Architect
|
|IBM
|p:
| 905 413 3125
|w:
| ibm.biz/rdi_hub e:
| edmund.reinhardt@xxxxxxxxxx
|



--
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: https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://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-2026 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.