|
View previous topic :: View next topic
|
| Author |
Message |
srikanthreddyb
New User
Joined: 05 Oct 2006 Posts: 3
|
|
|
|
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 |
|
 |
Bitneuker
CICS Moderator

Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
| 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 |
|
 |
srikanthreddyb
New User
Joined: 05 Oct 2006 Posts: 3
|
|
|
|
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 |
|
 |
Bitneuker
CICS Moderator

Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
| 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 |
|
 |
srikanthreddyb
New User
Joined: 05 Oct 2006 Posts: 3
|
|
|
|
| Yes the problem is resolved. |
|
| Back to top |
|
 |
prakash.subramaniam
New User

Joined: 22 Nov 2006 Posts: 7 Location: chennai
|
|
|
|
AK is a Invalid SSA.
by,
B.S.Prakash, |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|