|
View previous topic :: View next topic
|
| Author |
Message |
keerthi kota
New User
Joined: 02 Mar 2008 Posts: 4 Location: hyderabad
|
|
|
|
| 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 |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Have you tried CA's fine manuals? It's all there....
O. |
|
| Back to top |
|
 |
CICS Guy
Senior Member

Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
| 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 |
|
 |
keerthi kota
New User
Joined: 02 Mar 2008 Posts: 4 Location: hyderabad
|
|
|
|
| It worked thanks |
|
| Back to top |
|
 |
|
|