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

<TAGLOOP_TAG_VALUE> Error #39

Open
glewis64 opened this issue Jan 8, 2024 · 0 comments
Open

<TAGLOOP_TAG_VALUE> Error #39

glewis64 opened this issue Jan 8, 2024 · 0 comments

Comments

@glewis64
Copy link

glewis64 commented Jan 8, 2024

  1. We use CodeGen to generate out code for SQL Replication
  2. We have a structure that has: Tag FIELD PRPROD NE " "
  3. PRPROD is defined as an ALPHA, Size 16 in the structure
  4. Our CodeGen template contains
  5. <TAG_LOOP>if (tmprec.<tagloop_field_originalname><TAGLOOP_OPERATOR_DBL><TAGLOOP_TAG_VALUE>) begin</TAG_LOOP>
  6. Generated code:
  7. if (tmprec.prprod.NE." ") begin
  8. The quoted blank string is only 15 characters long
  9. This field contains right justified alpha characters.
  10. “xxxxxxxxxxxxxxx1”, x’s represents blanks, specified only for clarity of discussion.

We just tried the latest version of CodeGen and it made no difference.

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