Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Abend message - AK - An SSA contains an invalid field Name
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Tue Oct 31, 2006 6:33 pm    Post subject:
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    Post subject: Re: Abend message - AK - An SSA contains an invalid field Na
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Wed Nov 01, 2006 1:15 am    Post subject: Re: Abend message - AK - An SSA contains an invalid field Na
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    Post subject: Re: Abend message - AK - An SSA contains an invalid field Na
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    Post subject: Error code AK
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us