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

allow prepared statements with plain pic x data and literals #64

Open
GitMensch opened this issue Jun 27, 2022 · 0 comments
Open

allow prepared statements with plain pic x data and literals #64

GitMensch opened this issue Jun 27, 2022 · 0 comments

Comments

@GitMensch
Copy link
Contributor

As seen in https://github.com/opensourcecobol/Open-COBOL-ESQL/blob/1b272b886edda8b794160d9ecfc1fa12962f5470/tests/sqlca.src/prepare-execute.at the only option to use prepared statements is currently the use of a varlength group.

It should also work with a plain PIC X item (automatically rtrimmed if needed, but as trailing spaces likely also "work" in the db this may not be necessary) and most important: with a plain literal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant