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

Problem in start browse


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

New User


Joined: 22 Sep 2006
Posts: 33

PostPosted: Fri Oct 05, 2007 1:13 pm
Reply with quote

In my file first 3 fields are keys...

i'm moving key to first two fields and zeroes to last key field....

and used start statement...


START EX-FILE
KEY IS NOT LESS THAN MAIN-KEY
END-START

READ EX-FILE

I'm getting file status as 23...

if I use START stt like...

START EX-FILE
KEY IS NOT LESS THAN MAIN-KEY
END-START

READ EX-FILE NEXT RECORD

I'm getting file status as 92...


Can anyone suggest me how to resolve this?
Back to top
View user's profile Send private message
saptagiri kintali

New User


Joined: 21 Sep 2007
Posts: 20
Location: chennai

PostPosted: Fri Oct 05, 2007 1:21 pm
Reply with quote

i think u r not supposed to end-start.Try with out ending the start and reading..... ,,Let me know if i am wrong..
Back to top
View user's profile Send private message
murmohk1

Senior Member


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

PostPosted: Fri Oct 05, 2007 1:25 pm
Reply with quote

saptagiri,

Quote:
Let me know if i am wrong..

Its a scope terminator for START.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Oct 05, 2007 2:19 pm
Reply with quote

santhunaveen wrote:
I'm getting file status as 23...
Record not found
Quote:
I'm getting file status as 92...
Logic error
You might post the file type and structure and the select and fd for the file and the open statement.
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 HILITE on Browse mode? TSO/ISPF 2
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Start CICS transaction every day at 2AM CICS 4
Search our Forums:

Back to Top