Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using SET to define I/O files 1

Status
Not open for further replies.

supra94red

Programmer
Nov 27, 2002
11
0
0
US
Hello,
I can't get my dos SET statements to work in Microfocus
Cobol version4.0.28 for Windows2000. I'm trying to
use a statement such as "SET FILEIN1=C:\DATA\DATAIN.TXT"
and then run the executable. I can get it to work in my
evaluation copy of Realia Cobol, but not MFC. In the
I/O section I have this...

INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT FILEIN
ASSIGN TO UT-S-FILEIN1
ORGANIZATION IS LINE SEQUENTIAL.


...I also tried removing UT-S- portion with no luck.
The error I'm getting is...
I/O error : file ' '
error code: 9/104 (ANS74), pc=0, call=1, seg=0

Please Help!!!
Thank You,
Dan.
 
MAN THAT WORKED, YOU'RE AWESOME!!!!!
THANKS A MILLION!!!!

:D

Dan.
 
I'll give you a star, Clive! Tom Morrison
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top