Hi Matthew,
I was thinking the same.
I would suggest DELETE x.y.z NSCR before the DEFINE though.

Regards,
David

On 2022-08-26 10:57, Matthew Stitt wrote:
I wonder if a DEFINE NONVSAM RECATALOG command would come close to resolving 
your issue.

Matthew

On Fri, 26 Aug 2022 11:52:35 +0100, Jack Zukt <jzuk...@gmail.com> wrote:

Hi all,



I have this file for which the LISTCAT ends with RC(00) and tells me that
the file resides on VOLSER BPG023:



LISTCAT ENTRIES (DGHOGAN.P7.BDB2.DPSBC.BODD.D220603A) ALL



NONVSAM ------- DGHOGAN.P7.BDB2.DPSBC.BODD.D220603A
IN-CAT --- PCSYSUC.DGHOGAN
HISTORY
DATASET-OWNER-----(NULL)     CREATION--------2022.154
RELEASE----------------2     EXPIRATION------0000.000
ACCOUNT-INFO-----------------------------------(NULL)
SMSDATA
STORAGECLASS -------SC65     MANAGEMENTCLASS---MCDF90
DATACLASS ------DCMULVOL     LBACKUP ---XXXX.XXX.XXXX
ENCRYPTIONDATA
DATA SET ENCRYPTION-----(NO)
VOLUMES
VOLSER------------BPG023 DEVTYPE------X'3010200F' FSEQN------------------0
ASSOCIATIONS--------(NULL)
ATTRIBUTES



However, the

LISTCAT CAT (PCSYSUC.DGHOGAN) VOL ends with  RC(04) and it gives me these
error messages for that file:



IDC3014I CATALOG ERROR
IDC3009I ** VSAM CATALOG RETURN CODE IS 50 - REASON CODE IS IGG0CLE0-6 FOR
BPG023
IDC1566I ** DGHOGAN.P7.BDB2.DPSBC.BODD.D220603A NOT LISTED
NONVSAM ------- DGHOGAN.P7.BDB2.DPSBC.BODD.D220603B
HISTORY
DATASET-OWNER-----(NULL)     CREATION--------2022.154
RELEASE----------------2     EXPIRATION------0000.000
ACCOUNT-INFO-----------------------------------(NULL)
SMSDATA
STORAGECLASS -------SC65     MANAGEMENTCLASS---MCDF90
DATACLASS ------DCMULVOL LBACKUP ---XXXX.XXX.XXXX
VOLUMES
VOLSER------------MIGRAT DEVTYPE------X'78048081'





and it says that the VOLSER is MIGRAT; I ran a DCOLLECT over the MCDS and
it does not show that file as migrated.





A DIAGNOSE of the VOLSER BPG023 ends with RC(08):



DC01379I NO VVDS ENTRY FOR DSCB NAME
IDC01379I DGHOGAN.P7.BDB2.DPSBC.BODD.D220603A
IDC21365I VTOC RECORD DISPLAY:
RECORD: DGHOGAN.P7.BDB2.DPSBC.BODD.D220603A
000000  F1C2D7C7 F0F2F300 017A009A 00000001   0000C9C2 D4D6E2E5 E2F24040
4040407A   *1BPG023..:........IBMOSVS2     :*
000020 009AA000 00004000 90006000 10000000 0082C000 000A0000 01C22C00
00810011 *...... ...-.......{......B......*
000040 54000011 54000E00 00000000 00000000 00000000 00000000 00000000
00000000 *................................*

IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8



A diagnose of the USERCAT (PCSYSUC.DGHOGAN) ends with RC(00) and does not
show any inconsistencies.



So, any suggestions on how I can fix this?

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

----------------------------------------------------------------------
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