View previous topic :: View next topic |
Author |
Message |
systemz Beginner
Joined: 19 Nov 2004 Posts: 10 Topics: 5
|
Posted: Tue Apr 25, 2006 4:00 pm Post subject: batch cobol problem |
|
|
Hi,
I have a pgm that is reading a flat file.
I am geting an error code of 47 while reading the input file.
I have an OPEN INPUT clause and the file status is zero after an open.
But after i try to read it i am geting a 47.
Did some one have this b4?
thanks
SZ |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Apr 26, 2006 4:52 am Post subject: |
|
|
systemz,
You get a status code of 47 when your READ statement was attempted on a file which is not open in the input or I-O mode.
Make sure that your open statement and Read statement point to the same file.
Hope this helps..
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|