Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Read file in COBOL

$
0
0

Hello,

I got this: 

ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT F1 ASSIGN TO "test.dat".

I get this error at the last line: "Invalid ASSIGN name" which is "test.dat". I've also tried the whole file path but it still doesn't work. The file is in the same directory as the program file. Anything on this?

- Thomas


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>