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

Abend message - AK - An SSA contains an invalid field Name


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srikanthreddyb

New User


Joined: 05 Oct 2006
Posts: 3

PostPosted: Tue Oct 31, 2006 5:32 am
Reply with quote

Hi all,

Please let me know your suggestions.

I am getting an abend message - AK - An SSA contains an invalid field name, or the field name is not defined in the DBD.

I have changed the PSB to add a new PCB and the DBA's have created a new Secondary Indexing on the DB.

Here is the new PCB that is added - Is there any thing wrong with the PCB definition?

Code:
PCB   TYPE=DB,DBDNAME=GNAJDIDB,KEYLEN=36,PROCOPT=GOT,  X
           PROCSEQ=GNAJDIS1,                                        X
           PCBNAME=GNAJDIS1                                         
         SENSEG  NAME=GNAJDRT,PARENT=0                                 
         SENSEG  NAME=GNAJDOS,PARENT=GNAJDRT                 


And these are the DBD changes - Bolded the new index field.

DSG1 DATASET DD1=GNAJDIDB,SIZE= 4096),SCAN=3
SEGM NAME=GNAJDRT,BYTES=50,PTR=(T), X
PARENT=0,RULES=(LLL)
FIELD NAME=GNAJDRK,SEQ,U),BYTES=9,START=1,TYPE=C
FIELD NAME=NPI,BYTES=10,START=40,TYPE=C
FIELD NAME=/SX1,BYTES=4,START=1
LCHILD NAME=(GNAJDXP,GNAJDINX),PTR=INDX
LCHILD NAME=(GNAJDS1,GNAJDIS1),PTR=INDX
XDFLD NAME=NPIS,SEGMENT=GNAJDRT,NULLVAL=X'40',
SRCH=(NPI), X
SUBSEQ=(/SX1)

and this is the SSA used in the program

Code:
01 GNAJDRS1-SSA                                                 
 02 GNAJDI-NPI-SEG-NAME             X(08)             GNAJDRT   
 02 GNAJDI-NPI-ASTR                 X(01)             *         
 02 GNAJDI-NPI-COMM                 X(01)             -         
 02 GNAJDI-NPI-COMM2                X(01)             -         
 02 GNAJDI-NPI-L-PAR                X(01)             (         
 02 GNAJDI-NPI-SEARCH               X(08)             NPIS       
 02 GNAJDI-NPI-OP                   X(02)             =         
 02 GNAJDI-NPI-QUAL                                             
  03 GNAJDI-NPI-KEY                 X(10)             123456789 
 02 GNAJDI-NPI-R-PAR                X(01)             )         



I am completely lost and unable to get to the root of the problem, any guidance is greatly appreciated.

Thanks,
Srikanth
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Tue Oct 31, 2006 6:33 pm
Reply with quote

You've put a lot of text in your topic but could you please explain what your intension is? Looks like secondary indexing to me. This manual explaines s.i. For your understanding please read a little bit and verify your stuff.
Back to top
View user's profile Send private message
srikanthreddyb

New User


Joined: 05 Oct 2006
Posts: 3

PostPosted: Wed Nov 01, 2006 12:52 am
Reply with quote

George,
Thanks for the link on Secondary Indexing, it was definitely a help.

The problem I was facing is a new Secondary index was created on a DB. I was trying to access it with the SSA (new one).
When I execute it (its an online program), I was getting the IMS abend - AK.

So in my my previous message I have pasted the PCB, DBD and SSA to find out if any thing was wrong with those definitions.

I think this problem got resolved now. I have realised I was using the DB's from a different region, other than the one where the changes actually occurred.

Thanks,
Srikanth
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Wed Nov 01, 2006 1:15 am
Reply with quote

srikanthreddyb wrote:
George,
Thanks for the link on Secondary Indexing, it was definitely a help.


Was a pleasure to me. Instead of telling people how to solve their problem I prefer to have them understand what they are doing (or at least what they want to do).

Does your answer mean your problem in solved in such way you can proceed?
Back to top
View user's profile Send private message
srikanthreddyb

New User


Joined: 05 Oct 2006
Posts: 3

PostPosted: Wed Nov 01, 2006 5:06 am
Reply with quote

Yes the problem is resolved.
Back to top
View user's profile Send private message
prakash.subramaniam

New User


Joined: 22 Nov 2006
Posts: 7
Location: chennai

PostPosted: Mon Dec 04, 2006 4:17 pm
Reply with quote

AK is a Invalid SSA.

by,
B.S.Prakash,
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts ISAM and abend S03B JCL & VSAM 9
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts Join 2 files according to one key field. JCL & VSAM 3
Search our Forums:

Back to Top