Page 1 of 1

Issue Create/delete ALIAS IDC3013I and then IDC3012I

Posted: Thu Dec 05, 2024 9:26 pm
by jcdm
Hello all, I am facing an issue when i am trying to create an alias.

I use:

Code: Select all

DEFINE ALIAS (NAME(NEWALIAS) RELATE(USERCAT.Z24D.USER))  
IDC3013I DUPLICATE DATA SET NAME


and when I tried to delete I got:

Code: Select all

 DELETE NEWALIAS ALIAS          
IDC3012I ENTRY NEWALIAS NOT FOUND


I used this commands to try to get more info:

Code: Select all

LISTCAT ALIAS ALL
and NEWALIAS doesnt appear.

Code: Select all

LISTCAT ENTRIES(NEWALIAS) ALL
and I got:

Code: Select all


IDC3901I ERROR QUALIFYING NEWALIAS
IDC3902I ** DEFAULT SERVICE ROUTINE ERROR CODE 36, LOCATE ERROR CODE 0
IDC0014I LASTCC=4      


I go to the doc.

https://www.ibm.com/docs/en/zos/2.4.0?t ... s-idc3902i

And check error code:
36
Not enough qualifiers were specified for the data set name. For example, the name specified was “A.B,” but the catalog contains an entry for “A.B.C.”

And Programmer response I can read:

36
Respecify the data set name.

It is not clear for me.

Any little help please?

Re: Issue Create/delete ALIAS IDC3013I and then IDC3012I

Posted: Fri Dec 06, 2024 12:04 am
by willy jensen
I am guessing that you are doing this in TSO? If so you should quote the names.
The command 'LISTCAT ALIAS ALL' will fail in TSO unless you do a PROFILE NOPREFIX beforehand.
You could also try 'LISTCAT LVL(NEWALIAS) ALL' , which does not require quoting.