MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CICS READNEXT on Alternate key

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
suebns
Beginner


Joined: 10 Nov 2004
Posts: 2
Topics: 1

PostPosted: Wed Nov 10, 2004 6:17 pm    Post subject: CICS READNEXT on Alternate key Reply with quote

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
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Thu Nov 11, 2004 1:46 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
suebns
Beginner


Joined: 10 Nov 2004
Posts: 2
Topics: 1

PostPosted: Thu Nov 11, 2004 7:35 am    Post subject: Reply with quote

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
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Fri Nov 12, 2004 1:37 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Fri Apr 14, 2006 12:39 pm    Post subject: Reply with quote

Did you use "GENERIC" & KEYLENGTH option when reading the file from CICS?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group