Automated Testing

Automated Testing

Automated Testing

Build an automated testing process to enable continuous integration of your hybrid cloud applications including z/OS

 View Only
Expand all | Collapse all

RRS Initialization Fails

  • 1.  RRS Initialization Fails

    Posted Fri August 01, 2014 06:41 AM

    Hi,

    We're trying to bring up WAS on our RD&Te 9.0 box and in doing so subsystem RRS goes down and this is what comes up on the console.

    04.23.51           ATR221I RRS IS JOINING RRS GROUP ADCDPL ON SYSTEM S0W1
    04.23.54           IXG063I LOGGER ABENDED AND REQUESTED AN SVC DUMP WHILE
     PROCESSING                                                              
    LOGSTREAM: ATR.ADCDPL.RM.DATA                                            
    STRUCTURE: **UNKNOWN**                                                   
    GROUP: PRODUCTION                                                        
    MODULE=IXGA1MM ,ABEND=S00C4,REASON=00000011                              
    04.23.54           IXG269I SYSTEM LOGGER ENCOUNTERED A DATA ERROR WHILE  
     READING DSN= IXGLOGR.ATR.ADCDPL.RM.DATA.A0000000                        
    04.23.54           ATR203I RRS COULD NOT READ FROM THE RM DATA LOG.      
    04.23.54           ATR138I ATTEMPT TO BRING UP RRS FAILED, DIAG =00000008
    04.23.55           ASA2013I RRS INITIALIZATION FAILED. COMPONENT ID=SCRRS
    04.23.55           IEF404I RRS - ENDED - TIME=04.23.55                   
    04.23.55           IEF352I ADDRESS SPACE UNAVAILABLE                     
    04.23.55           ASA2960I RRS SUBSYSTEM FUNCTIONS DISABLED. COMPONENT  
     ID=SCRRS

    Any thoughts?

    Thanks.

    Aamir H


  • 2.  Re: RRS Initialization Fails

    Posted Fri August 01, 2014 11:31 AM

    This looks like a problem with the RRS logstreams.  Try deleting and re-creating them.  Then restart RRS.

     

    RDzJohn

    RDzJohn


  • 3.  Re: RRS Initialization Fails

    Posted Fri August 01, 2014 01:16 PM

    Hi John,

    Before I go about deleting and re-creating the RRS logstreams what options, parameters, products etc should  I be taking into consideration? Or I can simply go ahead without worrying about other products that make use of RRS? I'm not sure on the impact it will have once I go about deleting and re-creating.

    Thanks.

    Aamir H


  • 4.  Re: RRS Initialization Fails

    Posted Fri August 01, 2014 02:25 PM

    RRS uses a set of logstreams for its own use.  These are the ones that will need to be deleted and recreated.  Users of RRS use a separate set of apis for access that are independent of the RRS logstreams.

     

    RDzJohn

    RDzJohn


  • 5.  Re: RRS Initialization Fails

    Posted Fri August 01, 2014 03:57 PM

    There is a JCL job in ADCD.LIB.JCL called RRSADCD.  This job will delete then define all 5 log stream datasets used by RRS.  After you get a RC=0 from this job, restart RRS with S RRS,SUB=MSTR.   This should clear up any RRS issues. 

    Note these logstream issues usually crop up after a disorderly shutdown.  Moral of the story is always do an orderly shutdown: 

    • Issue S SHUT00.
    • Wait for OMVS term message.
    • Issue $P JES2. 
    • Wait for JES term message.
    • Issue QUIESCE.

    RDzJohn

    RDzJohn


  • 6.  Re: RRS Initialization Fails

    Posted Tue August 12, 2014 02:32 PM

    Hi John,

    Sorry for the (very) late reply. Re-creating the log stream fixed the problem.

    Thanks.

    Aamir H


  • 7.  Re: RRS Initialization Fails

    Posted Wed August 01, 2018 08:47 AM

    Hello,
    we are working with very actuell zPDT with preinstalled DB2 V12 that allways was shutdown properly. The data base is working but when running any utility, we are encountering the following problem:

    DB2 SQL Error: SQLCODE=-471, SQLSTATE=55023, SQLERRMC=SYSPROC.DSNUTILU;00F30091, DRIVER=4.23.42
    com.ibm.db2.jcc.am.SqlException: DB2 SQL Error: SQLCODE=-471, SQLSTATE=55023, SQLERRMC=SYSPROC.DSNUTILU;00F30091, DRIVER=4.23.42

    We've run RRSADCD with RC 0 and restarted RRS like described above. But still the same problem.

    Any hint is welcome.
    Kind regards
    Andreas Gronert

    AndreasGronert


  • 8.  Re: RRS Initialization Fails

    Posted Thu August 02, 2018 08:27 AM

    Hi,

    When you login. Could you see if you are using proc DBPROC instead of DBSPROCB. For DB2 12, proc is DBSPROCC and for DB2 11, proc is DBSPROCB

     

    Thanks,

    Neeraj

    Neeraj Kumar


  • 9.  Re: RRS Initialization Fails

    Posted Thu August 02, 2018 10:17 AM

    Hi Neeraj,
    we're using DBPROCC.
    you are welcome...
    Andreas Gronert

    AndreasGronert


  • 10.  Re: RRS Initialization Fails

    Posted Tue August 14, 2018 06:37 AM

    Hello Neeraj,
    I meant DBSPROCC not DBPROCC.

    It seems, that RRSADCD doesn't delete but only define the logstreams. But when first running RRSDELA and then RRSADCD, I'm getting RC00 for both. Then I'm starting RRS by
    /S RRS,SUB=MSTR

    And getting the following message at the system console
    04.10.21           ASA2013I RRS INITIALIZATION FAILED. COMPONENT ID=SCRRS
    04.10.21           IEF404I RRS - ENDED - TIME=04.10.21                  

    Do you have access to the latest zPDT prepared drives? Then you may reproduce and solve the problem there and let me know the solution. Most likely you will have the problem there as well, because all that we have done is installing the latest drives, configured TCP and started with parm DB.

    I would appreciate highly and be very gratefull, if someone from IBM could help us with this problem.
    Kind regards
    Andreas Gronert

    AndreasGronert


  • 11.  Re: RRS Initialization Fails

    Posted Tue August 14, 2018 09:03 AM

    I've continued research. Fortunately we do have an older zPDT with running RRS. Below I've collected some coresponding system log entries of the running zos22 versus the not running zos23. Hopefully any expert can have a look at it and help us continue the analysis. With the older zPDT zos22 we can execute Utilities at DB2 but with current zos23 we can't because RRS is not working properly.


    zos22 with running RRS
    (1)
            4 XXRACF EXEC PGM=IRRSSM00,REGION=0M
                      00100000                            
    (2)
    VTAMAP10I Issuing "S RRS,SUB=MSTR".                         
    S RRS,SUB=MSTR                                              
    VTAMAP10I Issuing "S TSO         /* TIME SHARING OPTION */".
    (3)
    1 //RRS      JOB MSGLEVEL=1
    2 //STARTING EXEC RRS
    (4)
    IEF403I RRS - STARTED - TIME=11.20.28
    VTAMAP10I Issuing "S SDSF".
    (5)
    RRS IS JOINING RRS GROUP ADCDPL ON SYSTEM S0W1
    (6)
    RRS INITIALIZATION COMPLETE. COMPONENT ID=SCRRS
    (7)
    DSN3029I  -DBBG DSN3RRRS RRS ATTACH PROCESSING IS AVAILABLE
    VTAMAP11I Pausing 10 seconds...                            
    DSNL519I  -DBBG DSNLILNR TCP/IP SERVICES AVAILABLE 132     
               FOR DOMAIN S0W1.DAL-EBIS.IHOST.COM AND PORT 5035
    DSNL004I  -DBBG DDF START COMPLETE 133                     
               LOCATION  DALLASB                               
               LU        NETD.DBBGLU1                          
               GENERICLU -NONE                                 
               DOMAIN    S0W1.DAL-EBIS.IHOST.COM               
               TCPPORT   5035                                  
               SECPORT   5037                                  
               RESPORT   5036                                  
               IPNAME    -NONE                                 
               OPTIONS:                                        
                PKGREL = COMMIT


    zos23 with not running RRS
    (1)
            4 XXRACF EXEC PGM=IRRSSM00,REGION=0M,PARM='OPT=00'
    USER START1  , GROUP SYS1                                 
                      00100002                              
    (2)
    VTAMAP10I Issuing "S RRS,SUB=MSTR,GNAME=&SYSNAME".    
    S RRS,SUB=MSTR,GNAME=&SYSNAME                         
    IEE295I COMMAND CHANGED BY SYMBOLIC SUBSTITUTION 206  
    ORIGINAL: S RRS,SUB=MSTR,GNAME=&SYSNAME               
    MODIFIED: S RRS,SUB=MSTR,GNAME=S0W1
    (3)
    1 //RRS      JOB MSGLEVEL=1     
    2 //STARTING EXEC RRS,GNAME=S0W1
    (4)
    RRS - STARTED - TIME=06.11.18                                 
    IEFA111I RRS IS USING THE FOLLOWING JOB RELATED SETTINGS:     
             SWA=BELOW,TIOT SIZE=32K,DSENQSHR=DISALLOW,GDGBIAS=JOB
    (5)
    RRS IS JOINING RRS GROUP S0W1 ON SYSTEM S0W1
    (6)
    <nothing similar>
    (7)
    DSN3030I  -DBCG DSN3RRSI RRS ATTACH WAITING FOR Z/OS 545             
    RRS INITIALIZATION, RRS CALL=CRGSEIF, RRS RETURN CODE=X'00000720'    
    -DBCGRECOVER POSTPONED                                               
    DSNV434I  -DBCG DSNVRP NO POSTPONED ABORT THREADS FOUND              
    DSN9022I  -DBCG DSNVRP 'RECOVER POSTPONED' NORMAL COMPLETION         
    DSNL003I  -DBCG DDF IS STARTING                                      
    DSNL519I  -DBCG DSNLILNR TCP/IP SERVICES AVAILABLE 550               
               FOR DOMAIN S0W1.DAL-EBIS.IHOST.COM AND PORT 5040          
    DSNL004I  -DBCG DDF START COMPLETE 551                               
               LOCATION  DALLASC                                         
               LU        NETD.DBCGLU1                                    
               GENERICLU -NONE                                           
               DOMAIN    S0W1.DAL-EBIS.IHOST.COM                         
               TCPPORT   5040                                            
               SECPORT   5041                                            
               RESPORT   5042                                            
               IPNAME    -NONE                                           
               OPTIONS:                                                  
                PKGREL = COMMIT

    AndreasGronert


  • 12.  Re: RRS Initialization Fails

    Posted Tue August 14, 2018 10:09 AM

    We are planning to release the technote for this problem. This will take couple of days, but, this is what you can try.

     

    1, Submit below job from IBMUSER user id

    //RRSADCD    JOB (72,FB3),DESCRIPTION,                           
    //            CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID                  
    //*                                                              
    //* DELETE THEN DEFINE LS FOR RRS                                
    //*                                                              
    //*                                                              
    //* DEFINE LOG STREAMS FOR RRS                                   
    //*                                                              
    //LOGST    EXEC  PGM=IXCMIAPU                                    
    //SYSPRINT DD SYSOUT=*                                           
    //SYSOUT   DD SYSOUT=*                                           
    //SYSIN    DD *                                                  
           DATA TYPE(LOGR) REPORT(YES)                               
      DELETE LOGSTREAM NAME(ATR.ADCDPL.ARCHIVE)                      
      DELETE LOGSTREAM NAME(ATR.ADCDPL.DELAYED.UR)                   
      DELETE LOGSTREAM NAME(ATR.ADCDPL.MAIN.UR)                      
      DELETE LOGSTREAM NAME(ATR.ADCDPL.RESTART)                      
      DELETE LOGSTREAM NAME(ATR.ADCDPL.RM.DATA)                                                       
      DELETE LOGSTREAM NAME(ATR.S0W1.RM.METADATA)            
    /*                                                       
    //LOGST    EXEC  PGM=IXCMIAPU                            
    //SYSPRINT DD SYSOUT=*                                   
    //SYSOUT   DD SYSOUT=*                                   
    //SYSIN    DD   *                                        
         DATA TYPE(LOGR) REPORT(YES)                         
         DEFINE LOGSTREAM NAME(ATR.S0W1.RM.DATA)             
                MAXBUFSIZE(65532)                            
                DASDONLY(YES)                                
                LS_SIZE(3000)                                
                STG_SIZE(3000)                               
                HLQ(IXGLOGR)                                 
                HIGHOFFLOAD(80)                              
                LOWOFFLOAD(0)                                
         DEFINE LOGSTREAM NAME(ATR.S0W1.MAIN.UR)             
                MAXBUFSIZE(65532)                            
                DASDONLY(YES)                                
                LS_SIZE(3000)                                  
                STG_SIZE(3000)                                 
                HLQ(IXGLOGR)                                   
                HIGHOFFLOAD(80)                                
                LOWOFFLOAD(0)                                  
         DEFINE LOGSTREAM NAME(ATR.S0W1.DELAYED.UR)            
                MAXBUFSIZE(65532)                              
                DASDONLY(YES)                                  
                LS_SIZE(3000)                                  
                STG_SIZE(3000)                                 
                HLQ(IXGLOGR)                                   
                HIGHOFFLOAD(80)                                
                LOWOFFLOAD(0)                                  
         DEFINE LOGSTREAM NAME(ATR.S0W1.RESTART)               
                MAXBUFSIZE(65532)                              
                DASDONLY(YES)                                  
                LS_SIZE(3000)                                  
                HLQ(IXGLOGR)                                   
                HIGHOFFLOAD(80)                                  
                LOWOFFLOAD(0)                                    
                                                                 
         DEFINE LOGSTREAM NAME(ATR.S0W1.ARCHIVE)                 
                MAXBUFSIZE(65532)                                
                DASDONLY(YES)                                    
                LS_SIZE(3000)                                    
                STG_SIZE(3000)                                   
                HLQ(IXGLOGR)                                     
                HIGHOFFLOAD(80)                                  
                LOWOFFLOAD(0)                                    
                                                                 
         DEFINE LOGSTREAM NAME(ATR.S0W1.RM.METADATA)             
                MAXBUFSIZE(65532)                                
                DASDONLY(YES)                                    
                LS_SIZE(3000)                                    
                STG_SIZE(3000)                                   
                HLQ(IXGLOGR)                                     
                HIGHOFFLOAD(80)                                  
                LOWOFFLOAD(0)                                    

    2, re-IPL the machine or restart the RRS with console command S RRS,SUB=MSTR,GNAME=S0W1    

    Neeraj Kumar


  • 13.  Re: RRS Initialization Fails

    Posted Wed August 15, 2018 05:24 AM

    Thanks Neeraj,
    I'm wondering about the mix of ADCDPL and S0W1. So I've done the following:
    - IPL with parm CS (Cold Start)
    - created two JCL similar to yours, one for deleting and creating log streams for S0W1 and one for ADCDPL with ADCDPLPL
    - run both; ensured RC00
    - IPL with parm DB

    Now RRS is running at S0W1 and not at ADCD.

    You may ask your colleages from zPDT to fix this for next release.

    Thanks a lot again.
    Kind regards
    Andreas Gronert

    AndreasGronert