Ken, Could you please open a PMR for this. I don't think it is a new issue
for 9.6 as I was able to reproduce in 9.5.1.2. For me it reformated like
this:
kdate = %dec(%date(%Dec(msgpdt.
MMDDYY:*MDY):*YMD); // Convert MDY to YMD
In fully free it was fine because the formatting was not done.
Thanks,
________________________________________________________________________________________
Maha Masri Project Manager - z Systems Development and Test Environment
(zD&T)
Rational Developer for i - Rational Developer for AIX and Linux - Rational
Developer for Power
IBM Canada Lab, 8200 Warden Ave, Markham, ON, L6G
1C7
Phone: (905) 413-4154 Tie-line: 313-4154
Email: masri@xxxxxxxxxx
From: Ken Killian <kkillian@xxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxx>
Date: 11/22/2017 09:25 AM
Subject: [WDSCI-L] RDI 9.6 Code Assist Bug...
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
Hi,
I have discovered a code Assist bug in RDI 9.6.
First a Data-Structure:
dcl-ds MSGPDT qualified;
MMDDYY zoned(6);
MM char(2) OVERLAY(MSGPDT);
DD char(2) OVERLAY(MSGPDT:*next);
YY char(2) OVERLAY(MSGPDT:*next);
end-ds;
Here is my code where I am getting Code Assistance:
kdate = %dec(%date(%Dec(msgpdt. ):*MDY):*YMD); // Convert MDY to YMD
Using Code-Assist, Ctrl+space Bar, I am able to select the "MMDDY"
sub-file! COOL!!! <Joy Joy>.
But, after selecting it my code is REFORMATTED! OUCH! Notice it breaks the
code format!!! <frown>
kdate = %dec(%date(%Dec(msgpdt.
o YMD
MMDDYY):*MDY):*YMD); // Convert MDY t
So, apparently the code-Assistance is BROKEN...
Disappointment, oh well, not working... <sad face>
-Ken Killian-
Mobile Comm Back-End
Senior IBM i Developer using Rational Developer for I RDI 9.5.1.2
Running IBM I, that supports: Java, PHP, Ruby/Ruby on Rails, Python, Node
JS, RPGLE
--
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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=J7g9rvcwZeJUkmU7xtzsAw&m=71LzdPchTIIUY5Nr8iwJClK1J4GivL27IVhqzez-4yQ&s=wS2eUUfWS83OJDSVPZDkfnApg05lMa2RER6voTfW9C0&e=
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=J7g9rvcwZeJUkmU7xtzsAw&m=71LzdPchTIIUY5Nr8iwJClK1J4GivL27IVhqzez-4yQ&s=jAl9ACe5WqqR-sRzvswOyHUCPqVPT4rI8xj1AkH2Wsk&e=
.
As an Amazon Associate we earn from qualifying purchases.