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

Start statement and pointer initialization


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ksathishkumar83

New User


Joined: 21 Nov 2006
Posts: 50
Location: India

PostPosted: Wed May 23, 2007 12:32 pm
Reply with quote

i have a index file with the followning recors.
111
222
333
444
555

when i move 444 to Record key.The pointer will be positiones at 444 or at 333?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Wed May 23, 2007 12:39 pm
Reply with quote

Satish,

Use display statement after READ statement and let us know the result.
Back to top
View user's profile Send private message
niteshsurana

New User


Joined: 27 Oct 2006
Posts: 4
Location: india

PostPosted: Thu May 24, 2007 11:02 am
Reply with quote

If you are reading the file then the pointer would be at the 444. But in case you are doing a START KEY for the file then the pointer would be at the end of 333 and you need to do a READ NEX RECORD to read the index 444...
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Start CICS transaction every day at 2AM CICS 4
No new posts Z Monitoring server fails to start IBM Tools 1
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
Search our Forums:

Back to Top