SOC1 running PGM=M2PCBRU
search cancel

SOC1 running PGM=M2PCBRU

book

Article ID: 37207

calendar_today

Updated On:

Products

ASM2 Backup and Restore

Issue/Introduction

Running $MAINT job. The job fails with a S0C1 in M2PCBRU.

sample abend: 

+ASMPA030 M2RECVY: PROGRAM M2PCBRU  ELEMENT OWNER=M2PCBRU  ABENDED WITH A S0C1

+ASMPA040 M2RECVY: NO RECOVERY SCHEDULE FOR M2PCBRU  ELEMENT OWNER=M2PCBRU

IEA995I SYMPTOM DUMP OUTPUT  337

SYSTEM COMPLETION CODE=0C1  REASON CODE=00000001  

+ASMPA030 M2RECVY: PROGRAM M2PRINT  ELEMENT OWNER=M2PRINT  ABENDED WITH A S0C1

+ASMPA040 M2RECVY: NO RECOVERY SCHEDULE FOR M2PRINT  ELEMENT OWNER=M2PRINT

IEF450I EMUIPCRN ANALYZE STEP0010 - ABEND=S0C1 U0000 REASON=00000001  341

 ASMMN880 - Beginning UNLOAD SCAN phase

ASMMN360 - IPC delete failed RC=20 RS=2 INF=0 

Environment

Release:  ASM2-Backup and Restore 4.2
 

Cause

Problem is caused by a bad journal record. The JNL file should be deleted, re-allocated, and formatted. 

Resolution

 

Sample JCL and IDCAMS control statements: Make appropriate allocation changes to space requirements and dataset names to fit your environment.

//DEFINE  EXEC  PGM=IDCAMS                                

//SYSPRINT DD SYSOUT=(*)                                  

//SYSIN    DD *                                           

 DEFINE  CLUSTER (                                    -   

          NAME(your asm2 .ASM2JNL)                  -   

          CISZ(4096)                                  -   

          RECORDSIZE(256 4089)                        -   

          REUSE                                       -   

          SHAREOPTIONS(3 3)                           -   

          NONINDEXED                                  -   

          )                                           -   

     DATA (                                           -   

          NAME(your asm2 .ASM2JNL.INDEX)            -   

          CYLINDERS(25 5)                             -   

          VOLUME(vvvvvv)                              -   

          )                                               

//*                                                       

//*   ANALYZE AND INITIALIZE IPC/JNL                      

//*                                                       

//$$$$$$@  EXEC PGM=M2PCBRU                               

//STEPLIB  DD  DISP=SHR,DSN=asm2.CAILIB        

                        

//SYSPRINT DD  SYSOUT=*                                   

//SYSUDUMP DD  SYSOUT=*                                   

//ISPMLIB  DD  DISP=SHR,DSN=asm2.CAIISPM       

//ASM2IPC  DD  DISP=SHR,DSN=asm2.ASM2IPC          

//ASM2JNL  DD  DISP=SHR,DSN=asm2.ASM2JNL          

//SYSIN    DD  *                                          

ANALYZE CATID(ASM2)                                        

The ASM2 Message Guide explains the return code values in the error messages and chapter 13 of the ASM2 System Reference Guide provides samples and explanations for the M2PCBRU utility.