IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Alternate Index is not getting created...


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
samimaktar

New User


Joined: 03 Aug 2009
Posts: 25
Location: Singapore

PostPosted: Fri Aug 12, 2011 10:43 am
Reply with quote

Hi all
We are converting our KSDS file to IAM file and getting the below error message while running test programs to create Alternate Index:
XXXX.YYYY.ZZZ.ABCD.KSDS is a IAM file.

Code:
 DEFINE AIX                                         
       (NAME(XXXX.YYYY.ZZZ.ABCD.KSDS.A1)             
        RELATE(XXXX.YYYY.ZZZ.ABCD.KSDS)               
        OWNER($IAM)                                 
        KEYS(17,31)                                 
        NOREUSE                                     
        UPGRADE                                     
        RECORDSIZE(53,32600)                       
        SHAREOPTIONS(2,3)                           
        NONUNIQUEKEY                               
        VOLUME(*))                                 
   DATA                                             
       (NAME(XXXX.YYYY.ZZZ.ABCD.KSDS.A1.D)           
        CYLINDERS(25 25))                           
   INDEX                                           
       (NAME(XXXX.YYYY.ZZZ.ABCD.KSDS.A1.I)           
        CYLINDERS(2 2))                             
IGD17103I CATALOG ERROR WHILE DEFINING VSAM DATA SET
XXXX.YYYY.ZZZ.ABCD.KSDS.A1                           
RETURN CODE IS 22 REASON CODE IS 12 IGG0CLIM       
RETURN CODE IS 22 REASON CODE IS 12 IGG0CLIM                           
IGD306I UNEXPECTED ERROR DURING IGG0CLIM PROCESSING                   
RETURN CODE 22 REASON CODE 12                                         
THE MODULE THAT DETECTED THE ERROR IS IGDVTSCU                         
SMS MODULE TRACE BACK - VTSCU VTSCT VTSCH VTSCG VTSCD VTSCC VTSCR SSIRT
SYMPTOM RECORD CREATED, PROBLEM ID IS IGD00042                         
IGD17219I UNABLE TO CONTINUE DEFINE OF DATA SET                       
XXXX.YYYY.ZZZ.ABCD.KSDS.A1                                               
IDC3014I CATALOG ERROR                                                 
IDC3009I ** VSAM CATALOG RETURN CODE IS 22 - REASON CODE IS IGG0CLIM-12
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12                     

and below error message for PATH:

 DEFINE PATH                                                    -     
       (NAME(XXXX.YYYY.ZZZ.ABCD.KSDS.P1)                          -     
        PATHENTRY(XXXX.YYYY.ZZZ.ABCD.KSDS.A1)                     -     
IDCAMS  SYSTEM SERVICES                                           
        UPDATE)                                                       
IDC3022I INVALID RELATED OBJECT                                       
IDC3009I ** VSAM CATALOG RETURN CODE IS 80 - REASON CODE IS IGG0CLAT-4
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12                     

Request you to help to solve this problem.


Regards,
Samim


Edited to add BBCode tags, Thanks...Anuj.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 12, 2011 12:21 pm
Reply with quote

Hello,

How is XXXX.YYYY.ZZZ.ABCD.KSDS defined?

Typo corrected. . .
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Aug 12, 2011 12:31 pm
Reply with quote

I think IAM files do not have a index...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 12, 2011 1:02 pm
Reply with quote

Hello,

Why would you believe that IAM does not support Alternate Indexes. . .
Back to top
View user's profile Send private message
samimaktar

New User


Joined: 03 Aug 2009
Posts: 25
Location: Singapore

PostPosted: Fri Aug 12, 2011 2:46 pm
Reply with quote

Hi
XXXX.YYYY.ZZZ.ABCD.KSDS is defined as KSDS file.

Regards,
Samim
Back to top
View user's profile Send private message
samimaktar

New User


Joined: 03 Aug 2009
Posts: 25
Location: Singapore

PostPosted: Fri Aug 12, 2011 2:51 pm
Reply with quote

Hi All
I can see one more message in sysout: IAMW55 IAM NOT LICENSED FOR AIX OR RRDS SUPPORT
Is the license causing this error?


Regards,
Samim
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Aug 12, 2011 5:11 pm
Reply with quote

dick scherrer wrote:
Hello,

Why would you believe that IAM does not support Alternate Indexes. . .


I verified and checked that alternate index can be created for a IAM file...

refer --> www.innovationdp.fdr.com/products/iam/share04IAMs8422.pdf

Also I tried creating an IAM file but was not successful... Getting an error.
Code:


0IAMW57 IAM ALLOCATION FAILED  COMP=0080 CODE=0012      CLUSTER=HLQ.MODE.IAM.AIX2                                 
1IDCAMS  SYSTEM SERVICES                                           TIME: 07:05:29        08/12/11     PAGE      1
0                                                                                                                 
  DEFINE    AIX      (NAME (HLQ.MODE.IAM.AIX2)                 -                                                 
                      RELATE (HLQ.MODE.IAM)                    -                                                 
                      RECORDSIZE (512 512)                     -                                                 
                      TRACKS (10 5)                            -                                                 
                      KEYS (12 68)                             -                                                 
                      UPGRADE)                                                                                   
0IGD17103I CATALOG ERROR WHILE DEFINING VSAM DATA SET                                                             
 HLQ.MODE.IAM.AIX2                                                                                               
 RETURN CODE IS 80 REASON CODE IS 12 IGG0CLIM                                                                     
 IGD306I UNEXPECTED ERROR DURING IGG0CLIM PROCESSING                                                             
 RETURN CODE 80 REASON CODE 12                                                                                   
 THE MODULE THAT DETECTED THE ERROR IS IGDVTSCU                                                                   
 SMS MODULE TRACE BACK - VTSCU VTSCT VTSCH VTSCG VTSCD VTSCC N/A SSIRT                                           
 SYMPTOM RECORD CREATED, PROBLEM ID IS IGD00037                                                                   
 IGD17219I UNABLE TO CONTINUE DEFINE OF DATA SET                                                                 
 HLQ.MODE.IAM.AIX2                                                                                               
0IDC3022I INVALID RELATED OBJECT                                                                                 
 IDC3009I ** VSAM CATALOG RETURN CODE IS 80 - REASON CODE IS IGG0CLIM-12                                         
0IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12                                                               
0                                                                                                                 
0IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12                                               


I checked the error also..
Code:

+------------------------------------------------------------------------+
¦ RETURN CODE 80                                                         ¦
¦                                                                        ¦
¦ Explanation: Incorrect related object. The object specified in the     ¦
¦ RELATE parameter of a DEFINE command does not exist or is improper for ¦
¦ the type of object being defined.                                      ¦
+------------------------------------------------------------------------+
 12                  Explanation: An alternate index is not to be built       
                     over a base cluster, or the related path object is not   
                     a cluster or an alternate index.                         
                                                                               
                     Programmer Response: Correct the DEFINE command so       
                     that the entry named in the RELATE parameter is proper   
                     for the type of object being defined.                     




Not sure how to create alternate index... Is there any special parameter that needs to be defined?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 12, 2011 5:17 pm
Reply with quote

So, you are trying to create an alternate index for an IAM file and get the message that your site is not licensed to use alternate indexes with your IAM product, and you want to know if the license is causing the error?

No, the software is causing the error. The software is causing the error because you are not allowed under the terms of your site's license to do what you are trying to do, period. Either your site needs to license the alternate index component of IAM, or you need to stop trying to do things that the software will not allow you to do.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 12, 2011 8:10 pm
Reply with quote

Hello,

Quote:
I think IAM files do not have a index...

Quote:
I verified and checked that alternate index can be created for a IAM file...


@gylbharat
Please do not post what you "think". It is often wrong. . .

Verifying via manual or testing before posting will keep down the misinformation and clutter. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Cobol file using index COBOL Programming 2
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
No new posts How to read unpacked field created in... DFSORT/ICETOOL 12
No new posts Add column to existing records using ... JCL & VSAM 2
No new posts choice of clustering index DB2 3
Search our Forums:

Back to Top