VERIFIED SOLUTION i
X

Resolve Geostan jobs running too long and getting soc4 errors.

Issue

We are getting SOC4 errors using the new Geostan software( April 2015, Version: 28.00) in production. Some of our Geocode jobs are getting hung up on production mainframe and eventually go down with a SOC4 error below.


PL/I ONCODE . . . . . . . . : 8094 
Protection exception. 
Abend Code. . . . . . . . . : S0C4-X'4' 

Program-Interruption Code . : 0004 (Protection Exception) 
An attempt was made to reference main storage that 
was not available in the configuration. 

NOTE: Source code information for program GSDATA could not be presented because 
no compiler listing or side-file data sets were provided. 

Load Module Name. . . . . . : SYS3.LINKLIB(F7803A54) 
At Address. . . . . . . . : 1F162060 
Load Module Length. . . . : X'405FA0' 
Link-Edit Date and Time . : 2015/11/04 14:11:02 

Program Name. . . . . . . . : GSDATA 
At Address. . . . . . . . : 1F270D48 (Module F7803A54 offset X'10ECE8') 
Program Length. . . . . . : X'9960' 
Program Language. . . . . : C (Compiled using z/OS C V1 on 2015/04/27 at 
18:53:17) 
Compiler Options Used . . : ARCH(5) AGGRCOPY(NOOVERLAP) ANSIAlIAS ARGPARSE 
ASSERT(RESTRICT) BITFIELD(SIGNED) CHARS(SIGNED) 
NOCOMPRESS NOCOMPACT CSECT NODEBUG NODFP 
DLL(NOCALLBACKANY) ENUMSIZE(SMALL) EXECOPS 
NOEXPORTALL FLOAT(HEX FOLD NOMAF AFP(NOVOLATILE)) 
NOGOFF NOGONUMBER NOHGPR NOHOT NOIGNERRNO 
NOINITAUTO INLINE(AUTO) NOIPA NOLIBANSI LONGNAME 
ILP32 OPT(2) PLIST(HOST) REDIR NORENT ROCONST 
ROSTRING ROUND(Z) START STRICT NOSTRICT_INDUCTION 
TARGET(LE CURRENT) TUNE(5) UNROLL(AUTO) NOUPCONV 
NOWSIZEOF 
Entry Point Name. . . . . : GeoStan::SetData(unsigned short,const char*) 
At Address. . . . . . . : 1F270EF8 (Program GSDATA offset X'1B0') 

Machine Instruction . . . . : 91FF100C TM 12(R1),255 
At Address. . . . . . . . : 1F271218 (Program GSDATA offset X'4D0') 
AMODE . . . . . . . . . . : 31 
Failing Operand . . . . . : First operand (Addressing exception) 
First Operand Address . . : 7FFFF00C (Storage invalid) 
First Operand Length. . . : 1 
Second Operand Value. . . : X'FF' 

Programmer response: Check your application for these common errors: 

* Using the wrong AMODE to reference storage 
* Trying to use a pointer that has not been set 
* Trying to store data into storage reserved for the system 
* Using an invalid index to an array 

See a Principles of Operation manual for a full list of protection exceptions. 
System action: The thread is terminated. 
Symbolic feedback code: CEE344 

Note: F7803A54 is Geocode program linked with new Geostan software i.e. 28.0 called from JZL17 job program.

Cause

On newer z/OS systems, use of the pre-linker is not supported. Even though it will run to completion, We have found that S0C4's occur many times at runtime. 

Resolution

UPDATED: April 21, 2017


A future release of GeoStan/FileServer will include JCL changes in examples for this. Also PDS datasets can still be used for load libraries only if modules were linked elsewhere, but for newly linked modules a Library type dataset must be used. Attached are detailed instructions with an example of how to change the JCL to link GeoStan/Fileserver modules in with a cobol program.

 

Environment Details

Product Feature: General

 

Downloads

  • No Downloads