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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

homework help

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi everyone, i need some help with my cobol program. I tried many different ways of getting a solution but doesn't seem to work. I run MicroFocus on win nt. The problem is under the file-control in the input-output section. I want to get results from this program in my text files, but it won't work. When I run the program, I get an error message. I compile the program and it was error-free. So what I am doing wrong?
please help. email at prima21@hotmail.com
find the code of the program at
thanks in advance.
john
 
you didnt do your initial read before entering paragraph 020-PRINT-REPORT.

should read
000-START-HERE.

PERFORM 010-HOUSEKEEPING.
READ PAY-FILE
AT END
MOVE "Y" TO EOF-SW.
PERFORM 020-PRINT-REPORT
UNTIL EOF-SW = "Y".
PERFORM 030-FINISH-UP.
STOP RUN.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top