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

Found unmatched row error #3

Open
arvindxlnc opened this issue Aug 6, 2021 · 1 comment
Open

Found unmatched row error #3

arvindxlnc opened this issue Aug 6, 2021 · 1 comment

Comments

@arvindxlnc
Copy link

Hi, I have a row in my COBOL file, and when I run process_cobol then I am getting an error:
Found unmatched row 032500 10 INITIAL-COMPLETION-MASK PIC X(3).

Not able to run denormalize_cobol having Redefines and Occurs, then getting error AttributeError: 'str' object has no attribute 'copy'

Any reference you have with Redefines and Occurs will work.

Thanks,
Arvind

@mcoulont
Copy link

Hi

+1 to this one

When I run python_cobol.py to

   100 01 IT00.                                                         LG050297
  2400     02 IT00-REF                              PIC X(13).
  2500     02 IT00-NFACTX     REDEFINES  IT00-REF.
  2600        03 IT00-EXCFA                         PIC XX.
  2700        03 IT00-DEPFA                         PIC XX.
  2800        03 IT00-NFACX                         PIC X(7).
  2900        03 IT00-NFAC    REDEFINES  IT00-NFACX PIC 9(7).
  3000        03 IT00-CLEFAC                        PIC X(2).
  3100     02 IT00-EXER.                                                LG090497
  3200        03 IT00-MIL PIC 99.                                       LG090497
  3300        03 IT00-EXC PIC 99.                                       LG090497
  3400        03 IT00-EXCX REDEFINES IT00-EXC PIC XX.                   LG090497
  3500     02 IT00-FILLER                           PIC X(39).

I get

Found unmatched row 02 IT00-NFACTX     REDEFINES  IT00-REF.
Found unmatched row 03 IT00-NFAC    REDEFINES  IT00-NFACX PIC 9(7).
         01  IT00.
           02  REF PIC X(13).
             03  EXCFA PIC XX.
             03  DEPFA PIC XX.
             03  NFACX PIC X(7).
             03  CLEFAC PIC X(2).
           02  EXER.
             03  MIL PIC 99.
             03  EXCX PIC XX.
           02  FILLER PIC X(39).

There seems to be issues with REDEFINES.

But this repo seems abandoned...

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

2 participants