Hi all,
I am trying to define an alternate index for a vsam (after defining the cluster) but the IDCAMS step is giving an error, i have pasted all the messages below.
IDCAMS SYSTEM SERVICES TIME: 12:45:47 07/19/07 PAGE 1
DELETE TP.PROD.LAC9.PP
IDC3012I ENTRY TP.PROD.LAC9.PP NOT FOUND
IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-42
IDC0551I ** ENTRY TP.PROD.LAC9.PP NOT DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8
SET MAXCC = 0
DEFINE CLUSTER -
(NAME(TP.PROD.LAC9.PP) -
RECORDSIZE(26 26) -
VOLUMES(SYSP36) -
KEYS (26 0) -
INDEXED -
NOWRITECHECK -
REUSE -
SPEED -
SHAREOPTIONS(3)) -
DATA (NAME(TP.PROD.LAC9.PP.DATA) -
CYLINDERS(120,10) CISZ(4096)) -
INDEX (NAME(TP.PROD.LAC9.PP.INDEX) -
CYLINDERS(1,1))
IDC0508I DATA ALLOCATION STATUS FOR VOLUME SYSP23 IS 0
IDC0509I INDEX ALLOCATION STATUS FOR VOLUME SYSP23 IS 0
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0
DEFINE AIX (NAME(TP.PROD.LAC9.A.PP) -
RELATE(TP.PROD.LAC9.PP) -
VOLUMES(SYSP65) -
KEY(4 0) -
NONUNIQUEKEY -
UPGRADE -
REUSE -
CYLINDERS(60 5)) -
DATA (NAME(TP.PROD.LAC9.A.PP.DATA) -
NONUNIQUEKEY) -
INDEX (NAME(TP.PROD.LAC9.A.PP.INDEX))
IDC3022I INVALID RELATED OBJECT
IDC3007I ** VSAM CATALOG RETURN CODE IS 80
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
DEFINE PATH (NAME(TP.PROD.LAC9.PATH.PP) -
IDCAMS SYSTEM SERVICES TIME: 12:45:47 07/19/07 PAGE 2
PATHENTRY(TP.PROD.LAC9.A.PP))
IDC3022I INVALID RELATED OBJECT
IDC3009I ** VSAM CATALOG RETURN CODE IS 80 - REASON CODE IS IGG0CLAT-4
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
Thanks in advance! PAV
error while defining alternate index
-
- Posts: 81
- Joined: Sat Jun 09, 2007 4:24 am
- Skillset: Some?
- Referer: mcmillan
- Location: Tucson AZ
Re: error while defining alternate index
Just a SWAG, without actually looking it up, but I don't recall specifying the index of the base cluster in defining an AIX....
the Fine Manuel:
IDC3022I INVALID RELATED OBJECT
Explanation: The object specified in the RELATE parameter of a DEFINE command does not exist or is improper for the type of object being defined. See the associated second-level message for the specific catalog management error code values.
You might want to re-visit the manual for the exact syntax of the DEFINE AIX.....
the Fine Manuel:
IDC3022I INVALID RELATED OBJECT
Explanation: The object specified in the RELATE parameter of a DEFINE command does not exist or is improper for the type of object being defined. See the associated second-level message for the specific catalog management error code values.
You might want to re-visit the manual for the exact syntax of the DEFINE AIX.....
Re: error while defining alternate index
From DFSMS Access Method Services for Catalogs:
"When you create a reusable cluster, you cannot build an alternate index to support it."
In other words, the REUSE parameter in the DEFINE CLUSTER does not allow you to use an AIX for this cluster.
Try again after removing it.
"When you create a reusable cluster, you cannot build an alternate index to support it."
In other words, the REUSE parameter in the DEFINE CLUSTER does not allow you to use an AIX for this cluster.
Try again after removing it.
Re: error while defining alternate index
Good call....marso wrote:When you create a reusable cluster, you cannot build an alternate index to support it.

Re: error while defining alternate index
I just found the link points to the table of contents. The REUSE option and the quoted sentence are in the "Optional Parameters" of the DEFINE CLUSTER chapter (here).
-
- Similar Topics
- Replies
- Views
- Last post
-
- 1
- 1488
-
by sergeyken
View the latest post
Sun Oct 04, 2020 11:33 pm
-
- 0
- 1220
-
by mehi1353
View the latest post
Tue May 28, 2024 2:42 pm
-
- 9
- 4813
-
by steve-myers
View the latest post
Sat Nov 13, 2021 12:17 am
-
- 4
- 2128
-
by willy jensen
View the latest post
Tue Apr 20, 2021 1:26 pm
-
- 7
- 4054
-
by jcdm
View the latest post
Tue Jul 25, 2023 11:57 am