Clicky
Skip to Content
Custom Search

Reply to comment

Anonymous

 

 

 

 

 

I am getting compile error in the following program when it is compiled on Mainframe express using the compiler directive COBOL for OS/390
 
           OPEN INPUT INPUTFL.
           MOVE 'N' TO  EOF-INPUT-FILE.
           PERFORM UNTIL EOF-INPUT
             READ INPUTFL AT END
                SET EOF-INPUT TO TRUE
             IF NOT EOF-INPUT
                DISPLAY FILE-SIZE
             END-IF
           END-PERFORM
           STOP RUN.
 
 
Can someone please let me know what could be the issue?

Reply

  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.

Navigation

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Number of Registered users 713
Theme by Dr. Radut.