× 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 all,

This is just a heads-up for anyone on V6R1.

V6R1 adds the new H-Spec option *NOUNREF which tells the compiler to leave
out unreferenced variables in the program object. We found a bug today what
can cause your compiles to dump with MCH4227 (translation error/invalid
stream). No clue in spool or job log about the root cause of the error.

What we found is that if you have a compile time array defined (this was a
little fix program, in case you are wondering why there would be a compile
time array in the first place), but do not reference the compile time array
in your program, the compile dumps unceremoniously.

This program fails to compile on our V6R1, latest CUM:
h option(*NOUNREF)
d arSiz s 3 dim(1) ctdata perrcd(1)
d sSiz s 3
/free
*inlr = *on;
/end-free
**
1.0

If you remove *NOUNREF, or add 'dSiz = arSiz(1);' to the code, then you get
a clean compile.

We will get this reported and hopefully fixed. I wanted to get it out for
everyone just in case you hit it before a fix is ready. It is not hard to
work around, but you need to know what the error is before you can work
around it.

Thanks,
Dave

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.