Before you begin: If you are diagnosing runtime errors when executing with Language Environment® services, refer to z/OS Language Environment Customization and z/OS Language Environment Debugging Guide.
Perform the following steps to diagnose errors that occur at run time:
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
_______________________________________________________________
If the program executes correctly at a different OPT level or NOOPT, perform a binary search for the IPA object file which contains the function for which code is incorrectly generated. Contact IBM service and be prepared to supply the relevant source (PPONLY) and object modules.
If the program executes correctly, perform a binary search using INLINE IPA(LEVEL(1)) for the IPA object file which contains the function which is incorrectly optimized. Once you have located the IPA object file with the problem, use noinline directives within the IPA Link control file to determine the functions that are not correctly inlined. Contact IBM service and be prepared to supply the relevant source (PPONLY) and object modules and the IPA Link control file.
Functions that are inconsistently prototyped may cause problems of this type. Verify that all interfaces are consistent and complete.
If the program executes correctly, perform a binary search using INLINE IPA(LEVEL(1)) for the IPA object file which contains the function which is incorrectly optimized. Contact IBM service and be prepared to supply the relevant source (PPONLY) and object modules.
If you are linking with IPA Level 2, try linking with Level 1.
At this point, if you still encounter problems that you think are the result of the compilation, contact IBM support.