09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SHCDS OutputIn this case, the RETLK05A subsystem is required to recover the NON-RLSUPDATE PERMITTED data set. Until this recovery is done, the subsystem isnotified that the data set is in the NON-RLS UPDATE PERMITTED state.SHCDS LISTDS(SYSPLEX.KSDS.PERMIT.CLUS2)----- LISTING FROM SHCDS ----- IDCSH02------------------------------------------------------------------DATA SET NAME----SYSPLEX.KSDS.PERMIT.CLUS2CACHE STRUCTURE----CACHE01RETAINED LOCKS---------YES NON-RLS UPDATE PERMITTED--------YESL<strong>OS</strong>T LOCKS--------------NO PERMIT FIRST TIME---------------YESLOCKS NOT BOUND---------NO FORWARD RECOVERY REQUIRED--------NORECOVERABLE------------YESSHARING SUBSYSTEM STATUSSUBSYSTEM SUBSYSTEM RETAINED L<strong>OS</strong>T NON-RLS UPDATENAME STATUS LOCKS LOCKS PERMITTED--------- -------------- -------- ----- --------------RETLK05A ONLINE--ACTIVE YES NO YESIDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0Figure 23. LISTDS <strong>for</strong> Data Set in Both NON-RLS UPDATE and PERMIT FIRST TIME StatesLISTDS <strong>for</strong> Data Set in Lost Lock StateThe first part of Figure 24 summarizes the status <strong>for</strong> the data set. In this example,the data set:v Has lost locksv Is a recoverable data setv Is not in NON-RLS UPDATE PERMITTED stateThe second part of Figure 24 shows a subsystem sharing the data set and givesstatus relative to the data set. The subsystem is a commit protocol application(ONLINE), and is not currently active (FAILED). The application owns locks thathave been lost.SHCDS LISTDS(SYSPLEX.KSDS.L<strong>OS</strong>TLOCK.CLUS5)----- LISTING FROM SHCDS ----- IDCSH02--------------------------------------------------------------------DATA SET NAME----SYSPLEX.KSDS.L<strong>OS</strong>TLOCK.CLUS5CACHE STRUCTURE----- NOT ASSIGNED -RETAINED LOCKS----------NO NON-RLS UPDATE PERMITTED---------NOL<strong>OS</strong>T LOCKS-------------YES PERMIT FIRST TIME----------------NOLOCKS NOT BOUND---------NO FORWARD RECOVERY REQUIRED--------NORECOVERABLE------------YESSHARING SUBSYSTEM STATUSSUBSYSTEM SUBSYSTEM RETAINED L<strong>OS</strong>T NON-RLS UPDATENAME STATUS LOCKS LOCKS PERMITTED--------- -------------- -------- ----- --------------ONLINE01 ONLINE--FAILED NO YES NOIDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0Figure 24. LISTDS <strong>for</strong> Data Set in Lost Lock StateLISTDS with JOBS keywordThe following example shows an SHCDS LISTDS command <strong>for</strong> a data set with noretained locks. The data set is currently in use by 10 jobs accessing it in <strong>DFSMS</strong>tvsmode.414 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!