Well yes - we already opened a ticket via our service partner - but as always, if you have a piece of code, the last thing you think about is, that the compiler is really defective.

You think about changed copy books, maybe changed compiler parameters or environmental conditions on the machine.

And you start to reduce the code to the absolutely necessary - because you have hundreds of FOR-EACH loops and %SPLITs that compile.

The last thing that comes to mind is a defective PTF, because it already worked - even if the compiler message suggests that it might be.

And CWX9001 is a message that is pretty often thrown, if the compiler (not only RPGLE - also COBOL) messes something up.

So yes - it came to mind, that this might be a compiler defect - but this doesn't help with your product pipeline, as the customer waits for their new release ... so I might have to change these programs to a workaround until IBM sends us a PTF.

Last time we found an error in the SQL engine, we also waited about 6-8 weeks until the testing PTF was available to us - our customer doesn't want to wait so long - and we also don't want to wait so long to push that release out.

The hope was, that somebody already knew this, and might have pointed me into the right direction - whether a PTF or an error on my side.

So thanks to all who racked their brains.

Regards,
Daniel



Von meinem iPhone gesendet
Am 10.12.2024 um 21:26 schrieb Mark Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>:

(sorry for the badly formatted message. trying again ...)

Message ID . . . . . . . . . : CWX9001
Message file . . . . . . . . : QCWXMSG
Library . . . . . . . . . : QSYS

Message . . . . : An error occurred during translation.
Cause . . . . . : An irrecoverable error has occurred during translation.
The reason code is &1. See the previous messages listed in the joblog.
Recovery . . . : This error indicates that an internal compiler error has
occurred. Contact your service representative.

Message ID . . . . . . . . . : MCH4227
Message file . . . . . . . . : QCPFMSG
Library . . . . . . . . . : QSYS

Message . . . . : Instruction stream not valid.
Cause . . . . . : The object was not created because the sequence of
instruction stream objects is not valid.
Recovery . . . : There is a problem in the compiler. Report this problem
to the supplier of the compiler.
Technical description . . . . . . . . : The reason code is &1. The current
instruction count is &2. The offset to the instruction stream data that is
not valid is &3 bytes. The offset to the current instruction is &4 bytes
and the operation code of the current instruction is &5. The current
statement number is &6. The LIC log note ID is &7.


Note that CWX9001 and MCH4227 messages state in the second-level message text that this is an internal compiler error and to contact IBM Support.

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

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.