× 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, James:

Type GO LICPGM and press Enter, and take option 10 to list all installed licensed programs, see if the following option is installed:

5761SS1 13 System Openness Includes

You should also have a QCSRC file in QGPL ... change the member type to "C" and type a 14 next to that member and see if it compiles. It has an include for stdio.h ... If that won't compile, then something is definitely "wrong" ...

I recall seeing this once, on another system -- several years ago ... at V5R1 or V5R2, I think.

Between V4R5 and V5R1, IBM made a very fundamental change ... At V5R1 and above, the ILE C/400 compiler is actually the same XL-C compiler that runs on AIX ... only it runs in PASE ... the way the #include stuff works relies on having a bunch of "hard links" (or "soft links" or whatever they are), to map the source members in the source file members so they appear to be stream files in an IFS directory structure (the way the AIX C compiler expects to find them.)
I cannot recall exactly, but I am pretty sure what I ended up doing to "fix" this on that previous release was to go over to another system that was working correctly at the same version/release, and do a SAVLICPGM for 57xxSS1 option 13, to a save file, then send the save file over to the "broken" system, and then restore it with RSTLICPGM. The end result was that this restore had the effect of restoring (or recreating) those soft-links from the IFS to the corresponding source members. After that, everything worked fine again. :-/

I don't know how that happened on that system... how exactly those links got "broken"... :-o

Hope that helps?

All the best,

Mark S. Waterbury

> James H. H. Lampert wrote:
Anybody know why it is that our V6 box, which has 5761WDS features 5050, 5101, 5102, and 5103, doesn't seem to have any of the most basic includes to compile C?

On our V4 boxes, those includes are in the QCLE and QSYSINC libraries, but I don't see any such libraries on the V6 box. And even when I tried creating QSYSINC and QCLE libraries, and copying over the H files from a V4 box, it couldn't see "decimal.h," even though there was definitely a member called "DECIMAL" in QCLE/H.

Did the folks in Rochester change the way C includes work?

--
JHHL

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