C/C++ Program accessing Java in z/OS - Run time Abend S0C4



Help for C/C++ for MVS, OS/390 C/C++, z/OS C/C++ and C/C++ Productivity Tools for OS/390

C/C++ Program accessing Java in z/OS - Run time Abend S0C4

Postby Renjith » Wed Jun 11, 2014 1:32 pm

I have a C/C++ Program calling Java in z/OS. The compile and link edit steps of C/C++ program calling Java ran fine. The run JCL fails with S0C4 abend. The error message is listed below.

This program is accessing storage in USS memory from MVS memory. It looks like Storage access issue.

ABEND=S0C4 U0000 REASON=00000004

The Run JCL is mentioned below. Please let me know what is missing and how to resolve this S0C4 abend.

//STEP1 EXEC PGM=JAVAC
//STEPLIB DD DSN=LOAD.LIB.DSNAME,DISP=SHR
// DD DSN=CEE.SCEERUN,DISP=SHR
// DD DSN=CEE.SCEERUN2,DISP=SHR
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//CEEOPTS DD *
ENVAR("_CEE_ENVFILE=/usr/UXXXXX/env1")
POSIX(ON),XPLINK(ON)
/*
Renjith
 
Posts: 2
Joined: Thu Jun 05, 2014 1:06 pm
Has thanked: 0 time
Been thanked: 0 time

Re: C/C++ Program accessing Java in z/OS - Run time Abend S0

Postby Robert Sample » Thu Jun 12, 2014 12:43 am

Consult your site support group. Only they -- or someone else working at your site -- could possibly help you. The default memory allocation might be too small, or there could be other problems, but only by looking at the job / output / environment could someone determine this.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to C, C++

 


  • Related topics
    Replies
    Views
    Last post