Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us