Created On:  24th Spetember 2012

Problem:

A SOC4 JCL Error was returned from a job that issues a SVC99 call to dynamically allocation a dataset. The job was running in a 32bit JCL region on an Itanium Server running HPUX.

Resolution:

This error was caused by a Stack Overflow exception when the SVC99 call was issued by the application. The stack was not large enough to handle the request and so failed. To resolve this error the COBMAINSTACK environment variable can be configured for the region. This can be added to the region configuration section under the [ES-Environment] section:-

[ES-Environment]
COBMAINSTACK=1000000

Please note this this is only needed for a 32bit Region on Itanium HPUX.  This error did not occur in 64bit on Itanium HPUX or on other platforms.