Skip to content

<TAGLOOP_TAG_VALUE> Error #39

Description

@glewis64
  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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions