You may encounter the z/OS error message CEE3536S Not enough storage was available for the WSA. What exactly is the WSA and how do you resolve this situation?
From the IBM documentation, the Writable Static Area (WSA) address is the base address of the writable static area which is available for all C and C++ programs except C programs compiled with the NORENT compiler option. If you have C code compiled with the RENT option or C++ code (hereafter called RENT code) you must determine the base address of the WSA if you want to calculate the address of a static or external variable.
CEE3536S Not enough storage was available for the WSA.
Explanation: The CEEPPOS service was invoked to OBTAIN the WSA and storage was not available to load the WSA into virtual memory. No action was taken.
Programmer response: Contact your service representative.
System action: Unless the condition is handled the default action is to terminate the enclave.
The z/OS UNIX System Services Planning manual says:
"MAXASSIZE is the maximum region size (in bytes) for an address space that was created by rlogind, telnetd, and other daemons. You can set a system-wide limit in SYS1.PARMLIB member BPXPRMxx and then set higher limits for individual processes. Use the RACF ADDUSER or ALTUSER command to specify the ASSIZEMAX limit on a per-process basis as follows: ALTUSER userid OMVS(ASSIZEMAX(nnnn)"
In batch jobs, REGION= sets the address space size. It can be used on the JOB statement or on the EXEC statement.
The address space size can be set on the spawn() call, but Tectia does not do that.
As such, please check your setting for the MAXASSIZE value and ensure that it is set to a value of at least 75000000
answered Feb 02 '11 at 06:19
Alan - Tectia Support ♦