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

Output file group declaration copied twice in the generated program #334

Open
Thibaut69 opened this issue Nov 9, 2023 · 3 comments · May be fixed by #330
Open

Output file group declaration copied twice in the generated program #334

Thibaut69 opened this issue Nov 9, 2023 · 3 comments · May be fixed by #330

Comments

@Thibaut69
Copy link

Thibaut69 commented Nov 9, 2023

Hi,

I have a 01 group OA00 with 7 level 10 in my input cobol program :
image

And the generated cobol (CC##99.cbl by default) contained this group twice in the WSS :
image

And below the SQLCA copy :
image

And this is note the case in the input program as you can see :
image

The SQLCA copy is like this :
image

I'm running CC 0.2.8

@Thibaut69
Copy link
Author

Temporary fix, move the group to the WSS in the input cobol program.

@Rune-Christensen
Copy link
Collaborator

Hi @Thibaut69
Thanks for reporting this.
I believe this will be fixed by part of the PR by samdion.
Regards
Rune

@samdion1994
Copy link
Collaborator

samdion1994 commented Nov 16, 2023

Hi @Thibaut69,

Thanks for your input, Working on a PR for this issue.

Feel free to use the fix-db2 branch in the mean time.

@samdion1994 samdion1994 linked a pull request Nov 16, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants