You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Engine: .dcl DB2 DCLGEN members are not scanned (no language claims the extension) #3365
No language in the registry claims the .dcl extension, so carddemo's DB2 DCLGEN members are never scanned:
app/app-transaction-type-db2/dcl/DCLTRTYP.dcl
app/app-transaction-type-db2/dcl/DCLTRCAT.dcl
app/app-authorization-ims-db2-mq/dcl/AUTHFRDS.dcl
Each one is DCLGEN output generated with LANGUAGE(COBOL): an EXEC SQL DECLARE <table> TABLE (...) END-EXEC. block followed by the COBOL 01 DCL... host-variable record. COBOL programs pull them in with EXEC SQL INCLUDE DCLTRTYP END-EXEC.
Because .dcl isn't claimed, the DB2 sql_table_data channel from #3349 (#3344) never sees the three tables these members declare (CARDDEMO.TRANSACTION_TYPE, CARDDEMO.TRANSACTION_TYPE_CATEGORY and CARDDEMO.AUTHFRDS), and neither do the DCLGEN host-variable records in record_data. The answer key's SQL_TABLE_EXTS leaves .dcl out too.
Fix
Have a language claim .dcl. The likely owner is cobol, since this is COBOL DCLGEN output. Check the corpus contents and any extension conflicts across the registry first. Then show that sql_table_data rows appear for carddemo, and extend the answer key's reader to match.
Activity
Engine: claim .dcl (DB2 DCLGEN members) for cobol (#3365) (#3366)