REGISTRY request parameters


The REGISTRY request command is used to inquire the status or manipulate the state of an RTCS-managed registry instance created by an address space.

The RTCS Subsystem itself creates two such instances. They are:

  • SYSTEM registry
  • MEMORY registry

The RTCS-dependent products can create their own product registry instances. For example, the BMC AMI Ops Infrastructure CAS's CASPERM registry or BMC AMI Ops Automation product's TOMPLEX repository registry.

The data stored in an RTCS-managed registry is retained in an MVS data space that is owned by the creating address space. A VLDS-backed registry uses the MVS DIV facility to harden the information stored in the registry data space into a VSAM LINEAR data set on DASD. This stored information persists over an address space and MVS system or sysplex shutdowns. The information is reloaded into the MVS data space when an address space re-establishes an RTCS registry instance for it.

You can share registry in a single MVS image or in a sysplex via XCF. When a registry is being shared via XCF, the registry instance in the address space which has the backing VLDS allocated to it and which owns the MVS data space containing the stored information is known as the Local Owner or the Local Owning instance.

You also can create Remote registry instances in other address spaces (which are executing on other MVS images in the sysplex) to access the information in the shared registry via XCF. For a Remote registry instance, neither the local MVS data space nor (if the registry is backed) an MVS allocation is held for the backing VLDS itself. Only the Local Owner allocates with DISP=OLD the Backing VLDS and copies the information hardened in into the actual MVS data space. Data retrieved from or to be stored into a registry by an address space that is using a Remote registry instance is transmitted to and from the Local Owning address space via XCF.

You can issue the RTCS REGISTRY operator command to any address space that has created an RTCS registry instance (whether it is a Local or a Remote instance) by using the MVS MODIFY (F) operator command. For more information about RTCS commands, see RTCS-commands

The REGISTRY command syntax is as follows:

F cscbName,REGISTRY,request [operand]

For more details, see the following request parameters:

ACQUIRE

The ACQUIRE request is used to establish a local ownership of the backing VLDS for a shared registry by a member of the XCF GROUP indicating that this local registry instance is now available for access from the other member's remote registry instances.

The following rules apply when you use ACQUIRE:

  • The registry must be shared in the sysplex via XCF.
  • The registry must not have an existing local owner.
  • The backing VLDS must not currently be allocated via DISP=OLD by any member of the XCF GROUP.

The member (address space) processes the ACQUIRE request by using the REGISTRY command as follows:

  • The backing VLDS is dynamically allocated via DISP=OLD. Make sure that no other address space in the sysplex is holding any allocation for the VLDS.
  • If the backing VLDS cannot be allocated via DISP=OLD, the ACQUIRE request fails.
  • The Access Control Block (ACB) is opened for the backing VLDS and its size is determined.
  • The MVS data space is created with a matching size.
  • The MVS Data In Virtual (DIV) facility is used to map the information in the backing VLDS into the recently created MVS data space.
  • This member's registry instance is now the Local Owner of the registry. Also, other members of the XCF GROUP are made aware that this member is now the Local Owner of the backing VLDS.
  • The local owning registry instance is marked available for access from the remote instances and the XCF GROUP is informed that it is now exposed for remote requests.

No operands are defined for ACQUIRE.

Example
F RTCS,REGISTRY ACQUIRE
F RTCS,REGISTRY ACQUIRE                                                    
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=FEFEFEFE 971     
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=RTAS04         
                                                                          
SHRD             REMOTE NOT_EXP UNAVAILABLE UNALLOCATED NO_DIV_MAP         
VLDS_BACKED NO_VLDS_DD  WAS_OWNED             RELEASED                     
XCF MEMBER=RTCS0038RTZ1     GROUP=OSZRTCS   OWNER=(NO LOCAL OWNER)         
AP=ACQUIRE                                                                 
INTERNAL STATUS FLAGS=82000002 08000000, XCF MEMBER STATS=5228E000         
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=FEFEFEFE 993     
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=RTAS04         
                                                                          
SHRD             REMOTE NOT_EXP UNAVAILABLE UNALLOCATED NO_DIV_MAP         
VLDS_BACKED NO_VLDS_DD  WAS_OWNED             RELEASED                     
XCF MEMBER=RTCS0038RTZ1     GROUP=OSZRTCS   OWNER=(NO LOCAL OWNER)         
AP=ACQUIRE                                                                 
INTERNAL STATUS FLAGS=82000002 88000400, XCF MEMBER STATS=5228E000         
OSZ0231I REGISTRY COMMAND COMPLETE                                         
OSZ0069I //SYS00002 DD DISP=OLD,DSN=RTCS.RT6CFCC.REGISTRY                  
OSZ0437I (SYSTEM) ALET=00010003 ASSIGNED BY ALESERV TO TCB=007D97F8        
OSZ0147I (SYSTEM) ALET=01020069 DIV SERVICES ATTACHED  TCB=007D97F8 997    
BATCH UPDATE WINDOW: 000001 SEC 000006 SEC 000060 SEC, LIMIT: 4000       
      CURRENT VALUE: 000001 SEC (DIV SAVE NOT PENDING) COUNT: 0000       
OSZ0437I (SYSTEM) ALET=00030005 ASSIGNED BY ALESERV TO TCB=007D9C58      
OSZ0321I OSZDVMAP DATA-IN-VIRTUAL REQUEST COMPLETE DDNAME=SYS00002 000   
RC=00000000 RSN=00000000 R1=7F51ADC0 FROM DIV   SAVE                     
OSZ0149I SYS00002 ALET=01020069 CPU=00.0225 ELAP=00.0270 CNT=0000        
OSZ0143I VSAM LINEAR DATA SET ACCESSED USING DIV BY RTCS REGISTRY 002    
HAS BEEN OPENED FOR UPDATE ACCESS, AND IS EXPOSED FOR XCF CONNECTIONS    
DSNAME=RTCS.RT6CFCC.REGISTRY                                             
VOL=SER=RTAS04 DDNAME=SYS00002 SCOPE=ALL   ,SHARED     RS_TCB=007D9C58   
ALET=01020069/8000830000000CAB TRACE=01FF001E/20000000 DS_TCB=007D97F8   
GLOBAL 14468000 8019003800020408 LOGICAL  OWNER=OSZRTCS  0038/007F8588   
GLOBAL 14468000 8019003800020408 PHYSICAL OWNER=OSZRTCS  0038/007D9C58   
SHARED  REGISTRY XCF GROUP NAME=OSZRTCS  MEMBER NAME=RTCS0038RTZ1        
MSG_ID=(SYSTEM) RMID=BP00436 VLDS_SIZE=       16,560 (4K BLOCKS)         
CONSTRUCTOR     SSID=RTCS PRODUCT=RTCS     TYPE=SYSTEM   NAME=OSZRTCS    
 PARAMETERS:    SYSTEM=RTZ1     SERVER=OSZRTCS  REGID=_SYSTEM_REGISTRY   
REGISTRY        SSID=RTCS PRODUCT=RTCS     TYPE=SYSTEM   NAME=OSZRTCS    
 DEFINITION:    SYSTEM=RTZ1     SERVER=OSZRTCS  REGID=_SYSTEM_REGISTRY   
SYSTEM Sysplex-Shared RTCS Subsystem SYSTEM Registry                     
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=00030005 018   
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=RTAS04       
VLDS_DD DIV_MAP *READY* OWNERUP LOAVAIL DATASPC                          
SHRD OWNED AVAIL  LOCAL EXPOSED   AVAILABLE   ALLOCATED DIV_MAPPED       
VLDS_BACKED VLDS_OWNER  WAS_OWNED             ACQUIRED                   
XCF MEMBER=RTCS0038RTZ1     GROUP=OSZRTCS  *OWNER=RTCS0038RTZ1           
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                       
INTERNAL STATUS FLAGS=FE0A0000 00000000, XCF MEMBER STATS=B722E000       

ALTER

The ALTER request is used to update the previously established parameters for the registry instance that are used by this member (address space).

The following ALTER request operands are supported:

  • DSNAME (VLDS-CLUSTER-Name)
    This operand updates the CLUSTER name of the backing VLDS that is dynamically allocated via DISP=OLD. When this member's registry instance reacquires ownership of the backing VLDS, regardless of whether you have explicitly requested the REALLOCATE or ACQUIRE request or the XCF GROUP's VLDS ownership (in case of a shared registry) is being dynamically reconfigured. For example, in case of a failure or termination of a member, which was formerly a Local Owner . 

  • TRACE (OFF | NONE | DEBUG | SIMPLE | EXTENDED)
    This operand adjusts the type of registry diagnostic trace messages that are produced for this registry instance.  The diagnostic trace messages are activated only at the request of BMC Support to investigate a reported problem.
  • ELIGIBLE-OWNER (YES | NO)
    This operand sets the eligibility of the current member to become the Local Owner of the backing VLDS. Only the eligible owners can automatically acquire the local ownership of the backing VLDS after it has been released by another member of XCF GROUP, which was formerly the Local Owner. If you indicate that a registry instance is not an eligible owner, the backing VLDS does not get allocated on system considered to be inappropriate. For example, a member of the XCF GROUP for a shared registry that is executing on an MVS image is small, under-powered, non-resilient, or not suitable for full production work.

The following request parameters set limits on the values of the performance parameters that the registry DIV services subtask uses. For more information, see RTCS-initialization-member. These parameters are supported for any special cases that might arise.

  • DIV-SAVE-MAXIMUM (nnn)
    This operand updates the maximum time in seconds to allow the registry DIV services subtask to wait before you make the hardening updates to the registry data space into the backing VLDS. This is usually set to 10 seconds. 
  • DIV-SAVE-MINIMUM (nnn)
    This operand updates the minimum time in seconds to force the registry DIV services subtask to wait before you make the hardening updates to the registry data space into the backing VLDS. This is usually set between two to five seconds only. 
  • DIV-SAVE-LIMIT (nnnn)
    This operand updates the maximum number of registry update requests that are processed before the registry DIV services subtask forces all pending updates to be hardened into the backing VLDS. This is usually set to a large value (such as hundreds) to allow a large number of updates to be processed so that the registry holds up further updates to the MVS data space while previously processed updates are hardened into the backing VLDS.

Example
F RTCS,REGISTRY ALTER ELIGIBLE-OWNER(NO)
F RTCS,REGISTRY ALTER ELIGIBLE-OWNER(NO)                                 
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=FEFEFEFE 069   
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=             
*READY* OWNERUP LOAVAIL                                                  
SHRD OWNED AVAIL REMOTE NOT_EXP UNAVAILABLE UNALLOCATED NO_DIV_MAP       
VLDS_BACKED NO_VLDS_DD INELIGIBLE                                        
XCF MEMBER=RTCS0044RTZ2     GROUP=OSZRTCS   OWNER=RTCS0038RTZ1           
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                       
INTERNAL STATUS FLAGS=E2000000 00000000, XCF MEMBER STATS=5201E000       
OSZ0231I REGISTRY COMMAND COMPLETE                                   

EXPOSE

The EXPOSE request is used to indicate that this member's already-established Local Owning registry instance is available for access from other member's remote instances.

The following rules apply when you use EXPOSE:

  • The registry must be shared in the sysplex via XCF.
  • The registry instance which is the target of this EXPOSE request must be the current Local Owner. If the current registry instance is not the current Local Owner, the EXPOSE request is rejected.
  • The other members of the XCF GROUP must have previously been made aware that this member is the Local Owner of the backing VLDS.
  • This Local Owning registry instance is EXPOSEd to the XCF GROUP by updating this member status in the XCF GROUP, which makes the registry available for access from other remote instances.

No operands are defined for EXPOSE.

Example
F RTCS,REGISTRY EXPOSE
F RTCS,REGISTRY EXPOSE                                                     
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=00010003 609     
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=RTAS04         
VLDS_DD DIV_MAP *READY* OWNERUP LOAVAIL DATASPC                            
SHRD OWNED AVAIL  LOCAL EXPOSED   AVAILABLE   ALLOCATED DIV_MAPPED         
VLDS_BACKED VLDS_OWNER  WAS_OWNED                                          
XCF MEMBER=RTCS0038RTZ1     GROUP=OSZRTCS  *OWNER=RTCS0038RTZ1             
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                         
INTERNAL STATUS FLAGS=FE0A0000 00000000, XCF MEMBER STATS=B720E000         

HARDEN

The HARDEN request is used to harden the previously made updates and additions to data stored to the MVS data space for the Local Owning instance into the backing VLDS.

The following rules apply when you use HARDEN:

  • The registry must be backed by a VLDS because the HARDEN requests for a non-backed registry are rejected.
  • Pending, un-hardened changes to the registry's MVS data space are hardened into the backing VLDS by using DIV SAVE.


No operands are defined for HARDEN.

Example
F RTCS,REGISTRY HARDEN
F RTCS,REGISTRY HARDEN                                                  
OSZ0147I (SYSTEM) ALET=01010069 DIV SERVICES *DIV SAVE TCB=007D9A28 131
BATCH UPDATE WINDOW: 000001 SEC 000006 SEC 000060 SEC, LIMIT: 4000      
      CURRENT VALUE: 000000 SEC ***DIV SAVE PENDING*** COUNT: 4000      
OSZ0322I NO PENDING CHANGES EXIST TO HARDEN                             
OSZ0321I OSZDVMAP DATA-IN-VIRTUAL REQUEST COMPLETE DDNAME=SYS00001 132  
RC=00000000 RSN=00000000 R1=7F4D9640 FROM DIV   SAVE                    
OSZ0149I SYS00001 ALET=01010069 CPU=00.0197 ELAP=00.0254 CNT=4000

REALLOCATE

The REALLOCATE request is used to establish local ownership of the backing VLDS for a registry by a this instance (address space) or member (if the registry is being shared).  If a registry is shared, other members are notified that this member is now the Local Owner of the backing VLDS. This new local owning instance is not exposed; therefore, this instance cannot be accessible from any other member remote instances.

The following rules apply when you use REALLOCATE:

  • If the registry is shared, any member in the XCF GROUP cannot already have allocated the backing VLDS and be the Local Owner.
  • The backing VLDS is dynamically allocated via DISP=OLD; this requires that no other address space in the sysplex hold allocation for the VLDS.
  • If the backing VLDS cannot be allocated via DISP=OLD, the ACQUIRE request fails.
  • The Access Control Block (ACB) is opened for the backing VLDS and its size is determined.
  • The MVS data space is created with a matching size.
  • The MVS Data in Virtual (DIV) facility is used to map the information in the backing VLDS into just created MVS data space.
  • This registry instance is now becomes the Local Owner of the registry, which might not be shared.

Example
F RTCS,REGISTRY REALLOCATE
F RTCS,REGISTRY REALLOCATE                                              
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=FEFEFEFE 466  
DSNAME=RTCS.RTZ1.REGISTRY                           VOL=SER=RTAS06      
OWNERUP                                                                 
PRIV OWNED       REMOTE NOT_EXP UNAVAILABLE UNALLOCATED NO_DIV_MAP      
VLDS_BACKED NO_VLDS_DD  WAS_OWNED                                       
XCF MEMBER=                 GROUP=          OWNER=                      
AP=REALLOC                                                              
INTERNAL STATUS FLAGS=42000004 08000000, XCF MEMBER STATS=4A20E000      
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=FEFEFEFE 465  
DSNAME=RTCS.RTZ1.REGISTRY                           VOL=SER=RTAS06      
OWNERUP                                                                 
PRIV OWNED       REMOTE NOT_EXP UNAVAILABLE UNALLOCATED NO_DIV_MAP      
VLDS_BACKED NO_VLDS_DD  WAS_OWNED                                       
XCF MEMBER=                 GROUP=          OWNER=                      
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                      
INTERNAL STATUS FLAGS=42000000 08000000, XCF MEMBER STATS=4A20E000      
OSZ0231I REGISTRY COMMAND COMPLETE                                      
OSZ0069I //SYS00002 DD DISP=OLD,DSN=RTCS.RTZ1.REGISTRY                  
OSZ0437I (SYSTEM) ALET=00010003 ASSIGNED BY ALESERV TO TCB=007D9A28     
OSZ0147I (SYSTEM) ALET=01020069 DIV SERVICES ATTACHED  TCB=007D9A28 473
BATCH UPDATE WINDOW: 000001 SEC 000006 SEC 000060 SEC, LIMIT: 4000      
      CURRENT VALUE: 000000 SEC (DIV SAVE NOT PENDING) COUNT: 0000      
OSZ0437I (SYSTEM) ALET=00030005 ASSIGNED BY ALESERV TO TCB=007D9C58     
OSZ0321I OSZDVMAP DATA-IN-VIRTUAL REQUEST COMPLETE DDNAME=SYS00002 476  
RC=00000000 RSN=00000000 R1=7F51ADC0 FROM DIV   SAVE                    
OSZ0149I SYS00002 ALET=01020069 CPU=00.0226 ELAP=00.0264 CNT=0000       
OSZ0143I VSAM LINEAR DATA SET ACCESSED USING DIV BY RTCS REGISTRY 478   
HAS BEEN OPENED FOR UPDATE ACCESS, AND IS UNAVAILABLE FOR XCF SHARING   
DSNAME=RTCS.RTZ1.REGISTRY                                               
VOL=SER=RTAS06 DDNAME=SYS00002 SCOPE=ALL   ,EXCLUSIVE  RS_TCB=007D9C58  
ALET=01020069/80007E0000000CB3 TRACE=01FF0020/20000000 DS_TCB=007D9A28  
GLOBAL 14164000 8019002300020408 LOGICAL  OWNER=OSZRTCS  0023/007F8588  
GLOBAL 14164000 8019002300020408 PHYSICAL OWNER=OSZRTCS  0023/007D9C58  
MSG_ID=(SYSTEM) RMID=BP00436 VLDS_SIZE=       16,560 (4K BLOCKS)        
CONSTRUCTOR     SSID=RTCS PRODUCT=RTCS     TYPE=SYSTEM   NAME=OSZRTCS   
 PARAMETERS:    SYSTEM=RTZ1     SERVER=OSZRTCS  REGID=_SYSTEM_REGISTRY  
REGISTRY        SSID=RTCS PRODUCT=RTCS     TYPE=SYSTEM   NAME=OSZRTCS   
 DEFINITION:    SYSTEM=RTZ1     SERVER=OSZRTCS  REGID=_SYSTEM_REGISTRY  
SYSTEM RTCS Subsystem SYSTEM Registry (unshared)                        
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=00030005 479  
DSNAME=RTCS.RTZ1.REGISTRY                           VOL=SER=RTAS06      
VLDS_DD DIV_MAP OWNERUP DATASPC                                         
PRIV OWNED        LOCAL NOT_EXP   AVAILABLE   ALLOCATED DIV_MAPPED      
VLDS_BACKED VLDS_OWNER  WAS_OWNED             ACQUIRED                  
XCF MEMBER=                 GROUP=         *OWNER=                      
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                 
INTERNAL STATUS FLAGS=5E0A0000 00000000, XCF MEMBER STATS=8F22E000

REINIT

REINIT performs the same function as  ACQUIRE except that the content of the backing VLDS that gets dynamically allocated via DISP=OLD is examined and confirmed to be empty and uninitialized.

The following rules apply when you use REINIT:

  • The registry must be shared in the sysplex via XCF.
  • The registry must not have an existing Local Owner; the backing VLDS must not currently be allocated via DISP=OLD by any member of the XCF GROUP.
  • The backing VLDS's cluster name has been updated by using the ALTER DSNAME request, which is used must be empty. Make sure that it is not initialized just after a use of DEFINE.
  • After the ACB for the backing VLDS is opened, in addition to determining the size of the VLDS, ensure that:
    • The VLDS has been newly defined.
    • The VLDS has not been initialized.
    • The VLDS has never had any data written into it.

No operands are defined for REINIT.

Example

F RTCS,REGISTRY REINIT 

RELEASE

The RELEASE request is used to relinquish local ownership of the backing VLDS by this registry instance and member (the registry must be shared).

Other members of the XCF GROUP are notified that this member is no longer the Local Owner of the backing VLDS. The registry is unavailable for access from any other member instances until one of the other eligible members ACQUIRE the registry, which results in registry being exposed. Therefore, RELEASE is opposite of ACQUIRE.

The following rules apply when you use RELEASE:

  • The registry instance must be the current Local Owner.
  • The registry must be being shared.

The registry member processing the RELEASE request command proceeds as follow:

  • The registry is marked as DRAINING.
  • The current local owning instance is set to UNEXPOSED, therefore new access requests from remote member instances are not accepted.
  • Pending updates to the MVS data spaces are hardened into the backing VLDS, the DIV MAP is undone, and the ACB is closed for the VLDS.
  • The registry's MVS data space is destroyed and the backing VLDS is dynamically deallocated.
  • Other members in the XCF GROUP are made aware that this member is no longer the Local Owner of the backing VLDS (that is, it no longer holds a DISP=OLD allocation for the backing VLDS).
  • The XCF GROUP members are signaled that they are eligible to become the Local Owner. The members can attempt to become the new Local Owner by dynically allocating DISP=OLD the backing VLDS.
Example
F RTCS,REGISTRY RELEASE
F RTCS,REGISTRY RELEASE                                                   
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=00020003 886    
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=RTAS04        
VLDS_DD DIV_MAP OWNERUP DATASPC                                           
SHRD OWNED        LOCAL NOT_EXP UNAVAILABLE   ALLOCATED DIV_MAPPED        
VLDS_BACKED VLDS_OWNER  WAS_OWNED                                         
XCF MEMBER=RTCS0038RTZ1     GROUP=OSZRTCS  *OWNER=RTCS0038RTZ1            
AP=RELEASE                                                                
INTERNAL STATUS FLAGS=DE0A0010 00000000, XCF MEMBER STATS=9320E000        
OSZ0231I REGISTRY COMMAND COMPLETE                                        
OSZ0147I (SYSTEM) ALET=01010069 DIV SERVICES TERMINATE TCB=007D97F8 906  
BATCH UPDATE WINDOW: 000001 SEC 000006 SEC 000060 SEC, LIMIT: 4000       
      CURRENT VALUE: 000001 SEC (DIV SAVE NOT PENDING) COUNT: 0000       
OSZ0321I OSZDVMAP DATA-IN-VIRTUAL REQUEST COMPLETE DDNAME=SYS00001 907   
RC=00000000 RSN=00000000 R1=7F48D640 FROM DIV   SAVE                     
OSZ0149I SYS00001 ALET=01010069 CPU=00.0214 ELAP=00.0285 CNT=0000        
OSZ0099D REG SERVICES LRQ1 DIV SERVICES subtask SD                       
OSZ0275I OSZDVMAP DESTROY JOB=OSZRTCS  0038/0038/0038 TCB=007D9C58       
OSZ0321I OSZDVMAP DATA-IN-VIRTUAL REQUEST COMPLETE DDNAME=SYS00001 911   
RC=00000000 RSN=00000000 R1=7F51A340 FROM DIV   SAVE                     
OSZ0276I OSZDSMGR DESTROY JOB=OSZRTCS  0038/0038/0038 TCB=007D9C58       
OSZ0185I DDN=SYS00001 UNALLOCATED DSN=RTCS.RT6CFCC.REGISTRY              
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=FEFEFEFE 933   
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=RTAS04       
                                                                        
SHRD             REMOTE NOT_EXP UNAVAILABLE UNALLOCATED NO_DIV_MAP       
VLDS_BACKED NO_VLDS_DD  WAS_OWNED             RELEASED                   
XCF MEMBER=RTCS0038RTZ1     GROUP=OSZRTCS   OWNER=(NO LOCAL OWNER)       
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                       
INTERNAL STATUS FLAGS=82000000 00000000, XCF MEMBER STATS=5228E000     

STATUS

The STATUS request displays a set of messages that indicate the current status of a registry instance, which is active in the address space.

The STATUS command provides the following two regID values that are applicable only for the RTCS Subsystem address space:

  • SYSTEM
  • MEMORY

Examples
F cscb,REGISTRY STATUS

F RTCS,REGISTRY STATUS MEMORY 

F RTCS,REGISTRY STATUS SYSTEM 


Example response messages
F RTCS,REGISTRY STATUS
F RTCS,REGISTRY STATUS
OSZ0232I REGISTRY STATUS 998                                           
OSZ0233I LOCAL, EXPOSED, SHARED, AVAILABLE, VLDS-BACKED, VLDS OWNER    
OSZ0234I WAS OWNED                                                     
OSZ0235I SCOPE=ALL                                                     
OSZ0236I SYSTEM, SECURED, HRECALL                                      
OSZ0237I VLDS_DD, DIV_MAP, *READY*, OWNERUP, LOAVAIL, DATASPC          
OSZ0238I DIV-SAVE-MIN  =           2, DIV-SAVE-MAXIMUM =          10   
OSZ0239I DIV-SAVE-IDLE =         900, DIV-SAVE-LIMIT   =         500   
OSZ0257I APPROXIMATELY    537,526,272 BYTES ALLOCATED,  99% FORMATTED  
OSZ0240I DSN=SYS1.PRODPLEX.RTCS.SYSTEM.REGISTRY           SER=XXXXXX   
OSZ0241I DDN=SYS00001                                                  
OSZ0242I XCF MBR=RTCS0044SYSA     GROUP=OSZPRODR OWNER=RTCS0044SYSA    
OSZ0243I MEMBER            SYSID     JOB NAME                          
OSZ0244I RTCS0044SYSA      SYSA      OSZRTCS                           
OSZ0244I RTCS0064SYSB      SYSB      OSZRTCS                           
OSZ0245I END OF STATUS DISPLAY                                         
OSZ0192I REGISTRY STATUS UNCHANGED   DDNAME=(SYSTEM) ALET=00010003 999
DSNAME=SYS1.PRODPLEX.RTCS.SYSTEM.REGISTRY           VOL=SER=SMS013     
VLDS_DD DIV_MAP *READY* OWNERUP LOAVAIL DATASPC                        
SHRD OWNED AVAIL  LOCAL EXPOSED   AVAILABLE   ALLOCATED DIV_MAPPED     
VLDS_BACKED VLDS_OWNER  WAS_OWNED                                      
XCF MEMBER=RTCS0044SYSA     GROUP=OSZSJSCD *OWNER=RTCS0044SYSA         
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                     
INTERNAL STATUS FLAGS=FE0A0000 00000000, XCF MEMBER STATS=B720E000        


TRANSFER

The TRANSFER request is used to perform the following:

  • Release the local ownership of the registry by the current member
  • Notify a specific member of the XCF GROUP that it should be the first to attempt to acquire the backing VLDS and become the new Local Owner

The following rules apply when you use TRANSFER:

  • The registry must be shared in the sysplex via XCF.
  • The registry instance at which the TRANSFER request is directed must be the current Local Owner.
  • If this member's registry instance is not the current Local Owner, the TRANSFER request is rejected. 
  • The ownership of the backing VLDS can be transferred only from the Local Owner to a remote instance. The remote instance must be the existing member of the XCF GROUP.

TRANSFER request processing proceeds as follows:

  • The current registry instance is confirmed to be the current Local Owner of a VLDS-backed shared registry (a non-backed registry has no backing VLDS whose ownership can be transferred).
  • The target XCF MEMBER Name is checked to make sure that it is an active remote registry instance in the XCF GROUP.
  • The registry is marked as DRAINING.
  • The current Local Owning instance is set to UNEXPOSED, therefore, no new access requests from remote MEMBER instances will be accepted.
  • Pending updates to the MVS data space are hardened into the backing VLDS, the DIV MAP is undone, and the ACB for the VLDS is marked as Closed.
  • The registry's MVS data space is destroyed and the backing VLDS is dynamically deallocated.
  • Other members in the XCF GROUP are made aware that this member is no longer the Local Owner of the backing VLDS 
  • The target XCF GROUP member designated by the TO() operand is notified that it must initiate the ACQUIRE processing to become the new Local Owner by dynamically allocating DISP=OLD to the backing VLDS.

The following TRANSFER request operand is required:

TO(target-MEMBER-name)

You can obtain the XCF MEMBER names of potential remote instance TRANSFER targets from the OSZ0244I messages that are issued in response to a STATUS request. An example follows:

OSZ0242I XCF MBR=RTCS0044SYSA     GROUP=OSZPRODR OWNER=RTCS0044SYSA    
OSZ0243I MEMBER            SYSID     JOB NAME                          
OSZ0244I RTCS0044SYSA      SYSA      OSZRTCS                           
OSZ0244I RTCS0064SYSB      SYSB      OSZRTCS                           

In this example, XCF member RTCS0044SYSA is the current Local Owning instance. The XCF GROUP contains only two members. The local ownership of the backing VLDS can be transferred from the current Local Owner (RTCS0044SYSA) to the only other member (RTCS0064SYSB) in the XCF GROUP, which is currently a remote instance.

Example
F RTCS,REGISTRY TRANSFER TO(RTCS0064SYSB) 

UNEXPOSE

The UNEXPOSE request is used to:

  • Retain the local ownership of the registry (including the backing VLDS) by the currently local owning member
  • Disallow access from other remote member instances of the XCF GROUP

The following rules apply when you use UNEXPOSE:

  • The registry must be shared in the sysplex via XCF.
  • The registry instance at which the UNEXPOSE request is directed must be the current Local Owner.

UNEXPOSE request processing proceeds as follows:

  • The current registry instance is the current Local Owner of a shared registry (the registry may be backed or non-backed).
  • The current local owning instance is set to UNEXPOSED, therefore, new access requests from remote member instances will be accepted.
  • Other members in the XCF GROUP are informed that this member is no longer accepting requests to retrieve or store information in the registry.

Although a non-backed registry can be shared, an UNEXPOSE request is typically used with a VLDS-backed registry. This is done to prepare for some activity on the same system where the current local owning instance is active, such as making a backup or in anticipation of an UNALLOCATE request. The registry remains available for data retrieval and storage on the system where the Local Owning member is executing.

If the registry is VLDS-backed, its ownership can be transferred to another member, or it can be UNALLOCATEd. Other members in the XCF GROUP are made aware that the registry retains its same (current) Local Owner, but remote instances are prohibited from forwarding registry access and update requests to the Local Owner.

No operands are defined for UNEXPOSE.

Example
F RTCS,REGISTRY UNEXPOSE
F RTCS,REGISTRY UNEXPOSE                                                  
OSZ0192I REGISTRY STATUS HAS CHANGED DDNAME=(SYSTEM) ALET=00010003 549    
DSNAME=RTCS.RT6CFCC.REGISTRY                        VOL=SER=RTAS04        
VLDS_DD DIV_MAP OWNERUP DATASPC                                           
SHRD OWNED        LOCAL NOT_EXP   AVAILABLE   ALLOCATED DIV_MAPPED        
VLDS_BACKED VLDS_OWNER  WAS_OWNED                                         
XCF MEMBER=RTCS0038RTZ1     GROUP=OSZRTCS  *OWNER=RTCS0038RTZ1            
AP=(NO COMMANDS OR REGISTRY STATE CHANGES PENDING)                        
INTERNAL STATUS FLAGS=DE0A0000 00000000, XCF MEMBER STATS=9720E000        
OSZ0231I REGISTRY COMMAND COMPLETE                                                   

UNALLOCATE

The UNALLOCATE request is used to:

  • Terminate access to a VLDS-backed registry.
  • Stop making updates to the backing VLDS.
  • Deallocate the VLDS CLUSTER, after which the registry has no Local Owner.

The UNALLOCATE request is typically used when the backing VLDS needs to be deallocated and the exclusive DSNAME ENQ is released. Thus the VSAM CLUSTER itself can be accessed for maintenance or manipulation by other program. For example, a backup utility such as IDCAMS REPRO.

The following rules apply when you use UNALLOCATE:

  • The registry instance at which the UNALLOCATE request is directed must be the current Local Owner.

The UNALLOCATE request processing proceeds as follows:

  • The current registry instance confirmed to be the Local Owner of a VLDS-backed registry. 
  • The registry is marked as DRAINING.
  • If the registry is being shared, the current local owning instance is set to UNEXPOSED, therefore, no new access requests from any remote MEMBER instances will be accepted.
  • The pending updates to the MVS data space are hardened into the backing VLDS, the DIV MAP is undone, and the ACB for the VLDS is closed.
  • The registry's MVS data space is destroyed and the backing VLDS is dynamically deallocated.
  • If the registry is shared, the current member informs the other members of the XCF GROUP that they no longer consider this registry instance to be acquired.

No operands are defined for UNALLOCATE.

Example
F RTCS,REGISTRY UNALLOCATE                                         
    



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*