We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prog.cbl
IDENTIFICATION DIVISION. PROGRAM-ID. prog. DATA DIVISION. WORKING-STORAGE SECTION. EXEC SQL INCLUDE SQLCA END-EXEC. PROCEDURE DIVISION. MAIN. IF 1 < 0 EXEC SQL INCLUDE exec-disconnect END-EXEC END-IF. EXEC SQL INCLUDE exec-disconnect END-EXEC.
exec-disconnect
EXEC SQL DISCONNECT ALL END-EXEC.
The following command fails.
ocesql prog.cbl prog.cob cobj prog.cob
The cause is that ocesql inserts a call statement with a period inside an if statement.
IDENTIFICATION DIVISION. PROGRAM-ID. prog. DATA DIVISION. WORKING-STORAGE SECTION. OCESQL*EXEC SQL INCLUDE SQLCA END-EXEC. OCESQL copy "sqlca.cbl". PROCEDURE DIVISION. MAIN. IF 1 < 0 OCESQL* EXEC SQL INCLUDE exec-disconnect END-EXEC OCESQL* EXEC SQL OCESQL* DISCONNECT ALL OCESQL* END-EXEC. OCESQL CALL "OCESQLDisconnect" USING OCESQL BY REFERENCE SQLCA OCESQL END-CALL. END-IF. OCESQL* EXEC SQL INCLUDE exec-disconnect END-EXEC. OCESQL* EXEC SQL OCESQL* DISCONNECT ALL OCESQL* END-EXEC. OCESQL CALL "OCESQLDisconnect" USING OCESQL BY REFERENCE SQLCA OCESQL END-CALL. OCESQL* EXEC SQL INCLUDE exec-disconnect END-EXEC. OCESQL* EXEC SQL INCLUDE exec-disconnect END-EXEC.
The text was updated successfully, but these errors were encountered:
Fix a bug of EXEC SQL INCLUDE (opensourcecobol#25)
d134979
Fix a bug of EXEC SQL INCLUDE (opensourcecobol#23, opensourcecobol#24, …
9d1d258
…opensourcecobol#25)
Revert modifying for opensourcecobol#25
59d7c85
yutaro-sakamoto
No branches or pull requests
prog.cbl
exec-disconnect
The following command fails.
The cause is that ocesql inserts a call statement with a period inside an if statement.
The text was updated successfully, but these errors were encountered: