[Migrated content. Thread originally posted on 28 November 2007]
I want to have a diary whitin my program using a thread.I first open the files and then wait to make sure all files are open.
Then I call a thread which reads a file and displays a message (when neccessary).
However whithin this thread the files are NOT open.
Can someone help me whith this problem.
PERFORM THREAD OPEN-FILES HANDLE IN THREAD-1.
WAIT FOR THREAD-1.
PERFORM THREAD TEST-REMARK UNTIL EOJ.
* TEST IF THERE'S A REMARK
TEST-REMARK SECTION.
BEGIN.
MOVE 01 TO RECORD-NO.
READ PROFILE RECORD.
ENDS.
EXIT.
* ---------- OPEN FILES ------------*
OPEN-FILES SECTION.
BEGIN.
OPEN INPUT PROFILE.
ENDS.
EXIT.



