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)
/*