We’re currently running PHP version 5.4.4 build 0003 on z/OS V2R2. When running a simple php -v or php -help command we receive S0CC abend (HFP-Exponent-Overflow Exception). This problem occurs in one of our Test LPARs but we’re not seeing the issue on another one of our test LPARs. Could this problem be related to a specific LE Option? What can we do to further troubleshoot this issue?
Greetings. I was able to reproduce this problem by setting _CEE_RUNOPTS=TRAP(OFF) when running “php -v”. It’s possible that the default for TRAP differs between the two LPARs.
The default LE runtime options are controlled by the CEEXOPT macro at installation time, and potentially several other ways. For more information see:
You can check the runtime options in effect by setting _CEE_RUNOPTS=RPTOPTS(ON).
I suggest running with _CEE_RUNOPTS=TRAP(ON) to see if that solves the problem.
Thanks very much for the answer Jerry. That was the problem. Setting TRAP(ON) resolved it.