× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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


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