After making changes to a database structure I ran a DDUPDATE set of commands with 1000 SET and 1000 VERIFY. I received these error messages:
**** ERROR **** RETURN CODE = DDPSV10001 STRUCTURE VERIFY FAILED
DDVARA0004 DUPLICATE AREA DATACOM-NAME
ENTITY=ABC-AREA-OVRD
DDVTBL0014 DUPLICATE DATACOM-ID FOR TABLE
ENTITY=ABC-AREA-OVRD
DDVTBL0015 DUPLICATE DATACOM-NAME FOR TABLE
ENTITY=ABC-AREA-OVRD
Datacom/DB Version 15.1
z/OS
To see the various values of the DATACOM-NAME and DATACOM-ID, you can run a simple Datadictionary Indented Report. For other attributes in error, you might need to change RPT INDENT to RPT DETAIL in the JCL shown below.
Here is a job to show the various structure values.
//*
// EXPORT SYMLIST=(*) <-- Do not remove or change
//*
//* The Occurrence name of the Database to report and its Version
//* Use $DDVER=ALL to see all versions of the database
// SET $DDBASE=THE-DATABASE-NAME-TO-REPORT,$DDVER=T1
//*
//* Loadlibs for Datacom and IPC products
// SET $CUS=<<YOUR MUF CUSLIB
// SET $BAS=<<YOUR MUF CABDLOAD
// SET $IPC=<<YOUR IPC CAVQLOAD
//*
//* Administrator user/password for Datadictionary
//* SET $DDUSR='<<DD-Admin-User>>',$DDPWD='<<DDUSR-PASSWORD>>'
// SET $DDUSR='DATACOM-INSTALL',$DDPWD='NEWUSER'
//*
//* - - - - - -C- - - - - - - - - - - - - - - - - - - - - - - - - - -7
//$DDRPT EXEC PGM=DDUTILTY,REGION=0M
//STEPLIB DD DISP=SHR,DSN=&$CUS
// DD DISP=SHR,DSN=&$BAS
// DD DISP=SHR,DSN=&$IPC
//CAOESTOP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPUNCH DD SYSOUT=*
//DDSNAP DD SYSOUT=*
//SYSSNAP DD SYSOUT=*
//SNAPER DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *,SYMBOLS=(JCLONLY)
-USR &$DDUSR,&$DDPWD
-DEF PATH,P1
-DEF TRACE,DATABASE.AREA,$INTERNAL
-DEF TRACE,AREA.TABLE,$INTERNAL
-END
-RPT START,DATABASE,&$DDBASE (&$DDVER),P1
-RPT INDENT
-END
/*
//
After reviewing the report, you will have to decide the cause of the error and adjust your Datadictionary structure accordingly.
As always, please contact Broadcom support for Datacom if you have further questions.