OPEN I-O schools-file
if file-status = "whatever code it is" (not "00")
open output schools-file
close schools-file
open I-O schools-file
end-if
After closing the file and program and starting this againe the previous information is erased by the "open...
JMP30310I-I OPEN ERROR, FILE=SCHOOLS.DAT. ACC-METHODS...
RUNNING COBOL V3, COBOL 85 (PROGRAMMING STAFF) ON WINDOWS XP PRO.
THE CODE IS AS FOLLOWS:
INPUT-OUTPUT SECTION.
FILE-CONTROL.
* declare schools file
SELECT schools-file ASSIGN TO "SCHOOLS.DAT"
ORGANIZATION IS...
LINK : fatal error LNK1561: entry point must by defined
NMAKE : fatal error U1077: ' c:\fsc\pcoblol32\link' : return code '0x68'
stop
To sort this probelm Please do the following:
1. Before compilation choose Main from compilation options.
2. choose object from comilation option and map it to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.