View previous topic :: View next topic |
Author |
Message |
suebns Beginner
Joined: 10 Nov 2004 Posts: 2 Topics: 1
|
Posted: Wed Nov 10, 2004 6:17 pm Post subject: CICS READNEXT on Alternate key |
|
|
After a successful start on a partial alternate key (the second half is spaces), the CICS program gets an End Of File (status 20) on a readnext. Viewing the alternate AIX, I can plainly see the records that CICS should be picking up(94+). I tried moving low values to the partial key and still get an end of file. Does anyone know why/how this happens? |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Thu Nov 11, 2004 1:46 am Post subject: |
|
|
What does the key look like and the key of the records that it is not pickung up, also tell us the alternate index definition. |
|
Back to top |
|
 |
suebns Beginner
Joined: 10 Nov 2004 Posts: 2 Topics: 1
|
Posted: Thu Nov 11, 2004 7:35 am Post subject: |
|
|
Here's the definition:
KEYS(17 19) -
NONUNIQUEKEY -
UPGRADE -
VOL(* * * * *) -
CYLINDERS(30 10) -
RECORDSIZE(39 199772) -
FREESPACE(5 5) -
SHAREOPTION(2 3) ) -
The job uses QINDEX to relate & nofastpath...
The first 9 bytes is populated by the program and the other 8 is either left as spaces or supplied by the user.
Here's an example of the aix key (sorry can't give the real thing):
122222698(in hex, spaces)
12222269800000000
12222269822345567
12222269823444444
etc....
Does this help? |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Fri Nov 12, 2004 1:37 am Post subject: |
|
|
Still not enough info. Where are you starting at ? Actually, we really can not help without seeing the real situation. Short answer, the system is doing what it should be - probably user error. Either your alternate key is not set up properly, your start is not correct, your read next is not done properly, or you do not understand your keys properly. This can only be a guessing game with the information supplied. |
|
Back to top |
|
 |
Anand_R Intermediate

Joined: 24 Dec 2002 Posts: 189 Topics: 60
|
Posted: Fri Apr 14, 2006 12:39 pm Post subject: |
|
|
Did you use "GENERIC" & KEYLENGTH option when reading the file from CICS? |
|
Back to top |
|
 |
|
|