S0C4 abend in OPRESTLG exporting OPSLOG in JSON format
search cancel

S0C4 abend in OPRESTLG exporting OPSLOG in JSON format

book

Article ID: 381464

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

OPRESTLG can EXPORT an archive dataset,  using the following JCL:

//EXPORT   EXEC PGM=OPRESTLG,                                       
// PARM='EXPORT OTEL ARCHIVE  LLLLLLL.ARCH.XXXX.G0031V00'          
//OPS$OPSG  DD DUMMY                                                
//STEPLIB  DD  DISP=SHR,DSN=...OPS140.CCLXLOAD        
//EXPORTDD DD  DSN=LLLLLLL.EXPORT.TEST,DISP=SHR
 
It could happen that it abends S0C4 .

Resolution

The abend S0C4 usually occurs when the JCL statement:

//OPS$OPSG  DD DUMMY
 
used to specify the name of the OPS/MVS subsystem defined, references a wrong subsystem name.
 
The string 'OPSG' should be replaced by the OPS subsystem name defined during the installation.  If the default value for the 'SUSSYSNAME' OPSPARM is used, then the above DD statement could be removed.