Open-source Languages & Tools for z/OS

 View Only
  • 1.  PHP S0CC Problem

    Posted 06-01-2016 09:21

    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?



  • 2.  RE: PHP S0CC Problem

    Posted 06-07-2016 17:25

    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:

    https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r1.ceea500/plncrto.htm

    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.

    – Jerry



  • 3.  RE: PHP S0CC Problem

    Posted 06-08-2016 08:32

    Thanks very much for the answer Jerry. That was the problem. Setting TRAP(ON) resolved it.