Classification: Public
Not that I've ever played with them, but there are commands / options to ROLLIN 
and ROLLOFF GDS members of GDGs - could they help? Looks like IEHPROGM might be 
able to rebuild indexes too. Chapter 29 of Using Data Sets looks like the place 
to go. 

Never played with any of them, but worth a look!

Andy Styles
z/Series System Programmer

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Brad Wissink
Sent: 05 July 2018 15:27
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: remove bad GDG entry from GDG base

-- This email has reached the Bank via an external source --
 

We need to remove a GDG entry from a GDG base, but the catalog entry doesn't 
exist.  What happened was that during the creation of the GDG 
(PTP.DP.TRMS.ARCH999.X3.G0308V00) the user catalog filled up and could not 
extend.  We received IEC331I 020-000..... error message on this.   We corrected 
the catalog space issue, but the PTP.DP.TRMS.ARCH999.X3 GDG base has the 
G0308V00 GDG associated with it, but there is no catalog entry for G0308V00.  
if you do a LISTCAT ALL ENTRY(PTP.DP.TRMS.ARCH999.X3) this is what you get.

GDG BASE ------ PTP.DP.TRMS.ARCH999.X3                                          
              
     IN-CAT --- TAPE.USER.CAT                                                   
              
     HISTORY                                                                    
              
       DATASET-OWNER-----(NULL)     CREATION--------2017.248                    
              
       RELEASE----------------2     LAST ALTER------2018.184                    
              
     ATTRIBUTES                                                                 
              
       LIMIT-----------------999     SCRATCH    NOEMPTY    LIFO       NOPURGE   
 EXTENDED     
     ASSOCIATIONS                                                               
              
       NONVSAM--PTP.DP.TRMS.ARCH999.X3.G0001V00                                 
              
       NONVSAM--PTP.DP.TRMS.ARCH999.X3.G0002V00     
.......
     NONVSAM--PTP.DP.TRMS.ARCH999.X3.G0307V00    
     NONVSAM--PTP.DP.TRMS.ARCH999.X3.G0308V00    
........
   NONVSAM ---- PTP.DP.TRMS.ARCH999.X3.G0307V00                                 
              
     IN-CAT --- TAPE.USER.CAT                                                   
              
     HISTORY                                                                    
              
       DATASET-OWNER-----(NULL)     CREATION--------2018.172                    
              
       RELEASE----------------2     EXPIRATION------0000.000                    
              
     VOLUMES                                                                    
              
       VOLSER------------A58863     DEVTYPE------X'78048081'     
FSEQN------------------1     
     ASSOCIATIONS                                                               
              
       GDG------PTP.DP.TRMS.ARCH999.X3                                          
              
     ATTRIBUTES                                                                 
              
IDC3012I ENTRY PTP.DP.TRMS.ARCH999.X3.G0308V00 NOT FOUND+                       
              
IDC1566I ** PTP.DP.TRMS.ARCH999.X3.G0308V00 NOT LISTED                          
              
IDC0014I LASTCC=4                                                               
              
IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-42          
              

Doing a LISTCAT All ENTRY(PTP.DP.TRMS.ARCH999.X3.G0308V00)  gets
 
IDC3901I ERROR QUALIFYING PTP.DP.TRMS.ARCH999.X3.G0308V00              
IDC3902I ** DEFAULT SERVICE ROUTINE ERROR CODE 20, LOCATE ERROR CODE 8 
IDC0014I LASTCC=4                                                      

Is there anyway to delete the unwanted GDG entry from the GDG base without have 
to delete and rebuild the GDG base?

                                          

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. 
Registered in Scotland no. SC95000. Telephone: 0131 225 4555.

Lloyds Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. 
Registered in England and Wales no. 2065. Telephone 0207626 1500.

Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. 
Registered in Scotland no. SC327000. Telephone: 03457 801 801.

Lloyds Bank Corporate Markets plc. Registered office: 25 Gresham Street, London 
EC2V 7HN. Registered in England and Wales no. 10399850.

Lloyds Bank plc, Bank of Scotland plc and Lloyds Bank Corporate Markets plc are 
authorised by the Prudential Regulation Authority and regulated by the 
Financial Conduct Authority and Prudential Regulation Authority.

Halifax is a division of Bank of Scotland plc.

HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in 
Scotland no. SC218813.

This e-mail (including any attachments) is private and confidential and may 
contain privileged material. If you have received this e-mail in error, please 
notify the sender and delete it (including any attachments) immediately. You 
must not copy, distribute, disclose or use any of the information in it or any 
attachments. Telephone calls may be monitored or recorded.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to