Not quite sure what you were expecting, David, but it is not supposed to work on generating RPG yet.

The only features enabled in the public beta are the ones that explain existing code and make suggestions for improvements. For the most part, the explanations seem to work fairly well, but the suggestions on potential shortcomings in the code and suggested improvements are often a bit "off" or at the very least over the top.


Jon Paris
Jon.Paris@xxxxxxxxxxxxxx



On Aug 14, 2025, at 11:25 AM, David Gibbs via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx> wrote:

Folks:

For the past couple of days, I've been playing around with Watsonx for i.

I'm no AI expert, but I do have some observations ...

1. It seems quite slow.
2. Sometimes it throws in non-RPG code. For example, for some bit
manipulation, it suggested using a '<<' operation. In another block of code
it suggested using 'IF condition THEN;' along with 'PRINT'. Very basic (the
language) looking.
3. It tried to assign the result of %LOOKUP to an indicator variable.
4. It suggested that “Instead of using fixed-form dcl-proc and dcl-pi,
adopt free-form declarations for better readability and flexibility”.
5. Conversely, it suggested using callp to invoke a procedure.
6. The summary function seems to be the most useful function.
7. I ran into token limits a few times. A very large program was too big
for it to process. This was frustrating because one of the primary things
I would use AI for is to gain comprehension of large, legacy, programs.
8. A few times it just plain errored out with no useful diagnostics. "Oops,
something went wrong. Please try again after some time"

Some of the issues seemed quite odd ... Considering this LLM is supposed to
be trained specifically for RPG, it demonstrated some rather marked lack of
understanding about RPG.

That aside, I really don't like using VS Code ... it's very awkward and
seems (to me at least) that the IBM i paradigm just doesn't fit in the IDE.

Maybe it's because I'm using Rocket/Aldon for change control and its VS
Code extension isn't nearly ready for prime time.

david
--
IBM i on Power Systems: For when you can't afford to be out of business!

I'm riding in the American Diabetes Association's Tour de Cure to raise
money for diabetes research, education, advocacy, and awareness. You can
make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.

I may have diabetes, but diabetes doesn't have me!
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.



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