Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
READNEXT reading the first record after the header record

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: READNEXT reading the first record after the header record
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: 3158
Location: Tucson AZ

PostPosted: Mon Jun 18, 2007 1:45 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to select record x+7 or x+2 based... JoAnn Kulcyk SYNCSORT 6 Tue Jan 16, 2018 10:49 pm
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us