Page 1 of 1

ALIAS DELETION

PostPosted: Wed Apr 17, 2013 9:36 pm
by Bad Man
Hi I was trying to define an alias but it says

DEF ALIAS(NAME( xx.XX.XX ) +
RELATE( COOL.YUYU.PROD.FAIMS.LOADLIB ))
IDC3013I DUPLICATE DATA SET NAME
IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-44
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12

So I tried pulling it up in 3.4 but it is not there then I tried to delete

DELETE ( xx.XX.XX ) ALIAS
IDC3012I ENTRY COOL.YUYU.FAIMS.LOADLIB NOT FOUND
IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-42
IDC0551I ** ENTRY OEM.PROD.FAIMS.LOADLIB NOT DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8

The way to delete an alias does not have a lot of options through 3.2 V. One thing tells me is because we have a dataset existing under the alias that is the reason the DSN here has two aliases.

Re: ALIAS DELETION

PostPosted: Wed Apr 17, 2013 10:30 pm
by Robert Sample
When I define an alias, I always specify the catalog to be used to ensure I know where the alias is going. Have you tried your DEFINE with a catalog included?

Re: ALIAS DELETION

PostPosted: Thu Apr 18, 2013 2:07 am
by steve-myers
From "MVS System Messages, Vol 6 (GOS-IEA)" for the first IDC3009I message:
Explanation: A request to place a record by key into an ICF catalog resulted in a duplicate key error from VSAM.

Programmer Response: If the spelling and catalog being used are correct, run the DIAGNOSE command to analyze the catalog.
Have you tried the programmer response section?

Re: ALIAS DELETION

PostPosted: Thu Apr 18, 2013 8:12 pm
by Bad Man
The problem was that this alias should be in the same USERcat as the dataset it is being defined to with..This alias was a multi level alias...