Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EJECT statements before IDENTIFICATION DIVISION preventing syntax checking #9

Closed
Morridt opened this issue Sep 30, 2019 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@Morridt
Copy link

Morridt commented Sep 30, 2019

Originally posted by @Morridt in #7 (comment)

Our code has program comments above the IDENTIFICATION DIVISION that also includes EJECT statements. This prevents syntax checking.

EJECT statements after IDENTIFICATION DIVISION work ok and have no affect on syntax checking.

  *--------------------------------------------------------------* 
  *--------------------------------------------------------------* 
       EJECT                                                       
   IDENTIFICATION DIVISION.
   PROGRAM-ID. PGM021.
   AUTHOR. MAINFRAMEWIZARD.
   DATA DIVISION.
   WORKING-STORAGE SECTION.
   01 WS-SUB   PIC 9  VALUE ZEROS.
   PROCEDURE DIVISION.
   10000-MAIN-PARA.
         MOVE 5 TO WS-SUB.
         MVE WS-SUB TO WS-SUB
         STOP RUN.
@phaumer phaumer added the enhancement New feature or request label Nov 6, 2019
@phaumer
Copy link
Member

phaumer commented Nov 6, 2019

Just an update. We do have a fix for it. We are just waiting for a release window related to legal approvals required. But it will fixed in our next update.

@phaumer phaumer added bug Something isn't working and removed enhancement New feature or request labels Nov 6, 2019
@Morridt
Copy link
Author

Morridt commented Nov 7, 2019

Thanks!

@phaumer
Copy link
Member

phaumer commented Nov 22, 2019

This issue was fixed in version 0.4.1 now available on the VS Code Marketplace.

@phaumer phaumer closed this as completed Nov 22, 2019
@Morridt
Copy link
Author

Morridt commented Nov 22, 2019

Thanks Peter.... Confirmed all good from my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants