Author Topic: OAM IVP and Initial Problem Determination  (Read 6917 times)

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
OAM IVP and Initial Problem Determination
« on: September 12, 2012, 08:03:02 AM »
Say you get a CMOD error after doing some OAM set up work.

How do you know whether to start your problem determination with CMOD or with OAM?

SYS1.SAMPLIB(CBRSAMIV) is the OAM IVP.

If it doesn't work, then your local OAM support or, if needed, IBM OAM support should be contacted first

Ed

Quote
//* THIS SAMPLE JOB INVOKES THE OSREQ COMMAND PROCESSOR TO PERFORM  
//* THE FOLLOWING ACTIONS:                                          
//*                                                                  
//* 1. STORE A 1 MB (1048576) OBJECT.                                
//*                                                                  
//* 2. ISSUE AN OSREQ QUERY TO LIST THE OAM DIRECTORY INFORMATION.  
//*                                                                  
//* 3. ISSUE A LISTCAT COMMAND TO LIST THE COLLECTION NAME ENTRY    
//*    FROM THE ICF CATALOG.                                        
//*                                                                  
//* 4. ISSUE AN OSREQ CHANGE REQUEST TO CHANGE THE RETENTION PERIOD  
//*    ASSOCIATED WITH THE OBJECT TO 365 DAYS.                      
//*                                                                  
//* 5. ISSUE AN OSREQ QUERY TO LIST THE OAM DIRECTORY INFORMATION.  
//*                                                                  
//* 6. ISSUE AN OSREQ RETRIEVE TO RETRIEVE THE PRIMARY COPY OF THE  
//*    AND CHECK TO SEE IF IT CONTAINS THE PRE-DEFINED PATTERN DATA.
//*                                                                  
//* 7. ISSUE AN OSREQ DELETE REQUEST TO DELETE THE OBJECT.
         
« Last Edit: August 06, 2014, 09:08:54 AM by Ed_Arnold »
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
Re: OAM IVP and Initial Problem Determination
« Reply #1 on: April 29, 2013, 08:58:29 AM »
I had a question:

The IVP says to change this:

CHANGE THE COLLECTION NAME, OBJECT NAME AND LENGTH OF
OBJECT TO CONFORM TO YOUR INSTALLATION REQUIREMENTS.


How do I know what to substitute for those values?

Answer:

First the COLLECTION NAME.

1. go to the Administrative Client and logon

2. double-click "Storage Sets" from the left menu

3. That will give you a list of COLLECTION NAMEs

4. Double-click on any one of those

5. Highlight "Primary Object Server"

6. View

7. COLLECTION NAME will be in the field "Collection Name"


Now, for the other two values "OBJECT NAME AND LENGTH OF OBJECT" I just left them as OBJECT.NAME and LENGTH(1048576) as in the sample and it runs fine on my system.

Again, this should run condition code zero for you.  If it doesn't, I recommend you open a PMR with OAM support to figure out why.


One last item.  I added the following to the IVP JCL:

//JOBLIB   DD DISP=SHR,DSN=DSN.DB2V810.SDSNLOAD
//         DD DISP=SHR,DSN=DSN.DB2V810.SDSNLOD2


Ed
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
Re: OAM IVP and Initial Problem Determination
« Reply #2 on: November 14, 2013, 08:50:38 AM »
Here's JCL that works on my system:

//CBRSAMIV JOB foo          
//             MSGCLASS=X,MSGLEVEL=(1,1),NOTIFY=&SYSUID          
//JOBLIB   DD DISP=SHR,DSN=DSN.DB2V810.SDSNLOAD                  
//         DD DISP=SHR,DSN=DSN.DB2V810.SDSNLOD2                  
//****************************************************************
//STEP1    EXEC PGM=IKJEFT01,REGION=4096K                        
//SYSPRINT DD   SYSOUT=*                                          
//SYSTSPRT DD   SYSOUT=*                                          
//SYSTSIN  DD   *                                                
 OSREQ STORE    ODV850.COLLECT OBJECT.NAME LENGTH(1048576)        
 OSREQ QUERY    ODV850.COLLECT OBJECT.NAME                        
 LISTCAT ENTRIES('ODV850.COLLECT') ALL                            
 OSREQ CHANGE   ODV850.COLLECT OBJECT.NAME RP(365)                
 OSREQ QUERY    ODV850.COLLECT OBJECT.NAME                        
 OSREQ RETRIEVE ODV850.COLLECT OBJECT.NAME COMPARE VIEW(PRIMARY)  
 OSREQ DELETE   ODV850.COLLECT OBJECT.NAME                        
/*  
                                                           

Which results in the this output:

READY                                                                          
 OSREQ STORE    ODV850.COLLECT OBJECT.NAME LENGTH(1048576)                      
CBR0400I OSREQ STORE successful. Return code = 00000000, reason code = 00000000.
CBR0404I OSREQ STORE response time is 23 milliseconds.                          
CBR0405I OSREQ STORE data rate is 44521 kilobytes/second.                      
READY                                                                          
 OSREQ QUERY    ODV850.COLLECT OBJECT.NAME                                      
CBR0400I OSREQ QUERY successful. Return code = 00000000, reason code = 00000000.
CBR0404I OSREQ QUERY response time is 4 milliseconds.                          
CBR0419I **********************************************************************
CBR0410I Collection name         = ODV850.COLLECT                              
CBR0411I Object name             = OBJECT.NAME                                  
CBR0412I Object size             = 1048576                                      
CBR0413I Creation date           = 2013-11-14                                  
CBR0414I Creation timestamp      = 15.46.40.382900                              
CBR0415I Last referenced date    = 0001-01-01                                  
CBR0416I Expiration date         = 0001-01-01                                  
CBR0417I Management class        = STANDEF                                      
CBR0418I Storage class           = OAMSC                            
CBR0427I Primary retrieve key    = '00000000000000000000'X          
CBR0428I Backup retrieve key     = '00000000000000000000'X          
CBR0429I Backup2 retrieve key    = '00000000000000000000'X          
CBR0430I Estimated retrieve time = 300                              
CBR0443I Location                = D                                
CBR0444I Pending action date     = 2013-11-14                        
CBR0445I Status flags            = 0                                
CBR0446I Retention protect date  = 0001-01-01                        
CBR0447I Deletion-protected      = N                                
READY                                                                
 LISTCAT ENTRIES('ODV850.COLLECT') ALL                              
NONVSAM ------- ODV850.COLLECT                                      
     IN-CAT --- SYS1.NATIVE.MASTER.CATALOG.SVLL20                    
     HISTORY                                                        
       DATASET-OWNER-----(NULL)     CREATION--------2012.073        
       RELEASE----------------2     EXPIRATION------9999.999        
       ACCOUNT-INFO-----------------------------------(NULL)        
     OAMDATA                                                        
       DIRECTORYTOKEN----GROUP00                                    
     SMSDATA                                                                    
       STORAGECLASS ------OAMSC     MANAGEMENTCLASS--STANDEF                    
       DATACLASS --------(NULL)     LBACKUP ---XXXX.XXX.XXXX                    
     ASSOCIATIONS--------(NULL)                                                
     ATTRIBUTES                                                                
READY                                                                          
 OSREQ CHANGE   ODV850.COLLECT OBJECT.NAME RP(365)                              
CBR0400I OSREQ CHANGE successful. Return code = 00000000, reason code = 00000000
CBR0404I OSREQ CHANGE response time is 5 milliseconds.                          
READY                                                                          
 OSREQ QUERY    ODV850.COLLECT OBJECT.NAME                                      
CBR0400I OSREQ QUERY successful. Return code = 00000000, reason code = 00000000.
CBR0404I OSREQ QUERY response time is 4 milliseconds.                          
CBR0419I **********************************************************************
CBR0410I Collection name         = ODV850.COLLECT                              
CBR0411I Object name             = OBJECT.NAME                                  
CBR0412I Object size             = 1048576                                      
CBR0413I Creation date           = 2013-11-14                                  
CBR0414I Creation timestamp      = 15.46.40.382900                              
CBR0415I Last referenced date    = 0001-01-01                                  
CBR0416I Expiration date         = 2014-11-14                                  
CBR0417I Management class        = STANDEF                                      
CBR0418I Storage class           = OAMSC                                        
CBR0427I Primary retrieve key    = '00000000000000000000'X                      
CBR0428I Backup retrieve key     = '00000000000000000000'X                      
CBR0429I Backup2 retrieve key    = '00000000000000000000'X                      
CBR0430I Estimated retrieve time = 300                                          
CBR0443I Location                = D                                            
CBR0444I Pending action date     = 2013-11-14                                  
CBR0445I Status flags            = 0                                            
CBR0446I Retention protect date  = 0001-01-01                                  
CBR0447I Deletion-protected      = N                                            
READY                                                                          
 OSREQ RETRIEVE ODV850.COLLECT OBJECT.NAME COMPARE VIEW(PRIMARY)                
CBR0400I OSREQ QUERY successful. Return code = 00000000, reason code = 00000000.
CBR0404I OSREQ QUERY response time is 4 milliseconds.                          
CBR0400I OSREQ RETRIEVE successful. Return code = 00000000, reason code = 000000
CBR0404I OSREQ RETRIEVE response time is 14 milliseconds.                      
CBR0405I OSREQ RETRIEVE data rate is 73142 kilobytes/second.                    
CBR0420I Data comparison for object ODV850.COLLECT OBJECT.NAME successful.      
READY                                                                          
 OSREQ DELETE   ODV850.COLLECT OBJECT.NAME                                      
CBR0400I OSREQ DELETE successful. Return code = 00000000, reason code = 00000000
CBR0404I OSREQ DELETE response time is 42 milliseconds.                        
READY                                                                          
END                                                                            


« Last Edit: November 14, 2013, 08:59:48 AM by Ed_Arnold »
#zOS #ODF

Ed_Arnold

  • Hero Member
  • *****
  • Posts: 1095
    • View Profile
At z/OS V2.3 the OAM IVP has changed!
« Reply #3 on: May 25, 2021, 09:08:34 AM »
Just talked to a colleague over in OAM:

As of z/OS 2.3, OAM no longer creates/references collections stored in the catalog. It only creates/references the collections stored in the DB2 Collection table.

You'll see that the updated SAMPLIB(CBRSAMIV) no longer performs a LISTCAT.

For a new collection created at z/OS 2.3 the collection name won't show up in the LISTCAT.

If this is a new upgrade to z/OS 2.3, OAM support recommends reviewing II14842.

Ed
#zOS #ODF