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

READNEXT reading the first record after the header record


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chinnarajr

New User


Joined: 01 Jun 2007
Posts: 16
Location: Chennai

PostPosted: Mon Jun 18, 2007 9:46 am
Reply with quote

hi,

We are using STARTBR CICS command. After STARTBR it is pointing to the required record , say 'X'. But once we do READNEXT from that position, it is reading the first record after the header record. Actually it should have read the required record 'X'. Please help us to resolve this issue as soon as possible.

Thanks,
Chinna.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 1:45 pm
Reply with quote

Sounds like the ridfld might be getting changed......
Back to top
View user's profile Send private message
chinnarajr

New User


Joined: 01 Jun 2007
Posts: 16
Location: Chennai

PostPosted: Mon Jun 18, 2007 2:12 pm
Reply with quote

William Thompson wrote:
Sounds like the ridfld might be getting changed......


We put displays after STARTBR and before READNEXT .The RIDFLD has the correct key value only.

Is there any way to find where the STARTBR is pointing to ?
Back to top
View user's profile Send private message
khushal.joshi

New User


Joined: 30 Mar 2007
Posts: 4
Location: PUNE

PostPosted: Mon Jun 18, 2007 2:27 pm
Reply with quote

Hi,
Check whether you are moving 'x' to ridfld(variable) before STARTBR.

I think if it is ok then READNEXT will read the record starting from X only.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top