|
I read the earlier stuff but didn't bother much with it. Looking back
at what you wrote I note some inconsistencies:
1) You showed the module being compiled on 430 with a target of 230
2) You showed the CRTCMOD command with TGTRLS(V3R2M0)
3) You showed the CRTPGM command with TGTRLS(V4R2M0)
Do you spot the anomaly?
The qusrtool/qattsysc(opusapi) is a reference to an include that no
longer exists. I don't expect this to be the cause of your conversion
issue because that include simply declares prototypes and structures
for the various User Space APIs. However, to successfully compile on a
recent release you will need to alter the source to refer to the
current includes in QSYSINC/H. (I don't recall when the System C
includes were removed from QUSRTOOL but they were present in 310 and
gone by 440.)
miptrnam.h still exists and is fairly innocuous. It's used by the code
to access the Compare Pointer Type MI instruction. The code appears to
presume that if it got a space pointer then the caller supplied a user
space name or an empty string otherwise it must be junk. Seems an odd
way of doing this.
The code uses the C pre-compiler to exclude or include the appropriate
code. As long as PC_DOS is not defined during the compile then the
compiler will not include any of the PC-specific code. It won't be in
the compiled object so can't cause a problem. You can leave it or
trash it as you wish.
As an Amazon Associate we earn from qualifying purchases.
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.