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

How to explicitly handle a sequential file in eztrieve


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
keerthi kota

New User


Joined: 02 Mar 2008
Posts: 4
Location: hyderabad

PostPosted: Sun Mar 02, 2008 1:07 pm
Reply with quote

Hi, i need to explicitly handle a sequential file in eztrieve. So I didnt pass it through job statement. I am using a GET stmt to read records one by one. But I don't know how to handle the EOF file condition. I tried giving EOF filename but it is not working. Even file status clause doesn't come to help here I think. Please help me on this. My program is abending with invalid file reference.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Mar 02, 2008 2:27 pm
Reply with quote

Have you tried CA's fine manuals? It's all there....

O.
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: Sun Mar 02, 2008 7:56 pm
Reply with quote

keerthi kota wrote:
I tried giving EOF filename but it is not working. Even file status clause doesn't come to help here I think.
To quote the fine manual
Quote:
IF EOF filename
STOP
END-IF
should work just fine....
It is a sequential file, right?
Back to top
View user's profile Send private message
keerthi kota

New User


Joined: 02 Mar 2008
Posts: 4
Location: hyderabad

PostPosted: Tue Mar 04, 2008 8:32 pm
Reply with quote

It worked thanks
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top