diff --git a/cobol_testgen/to_sql.py b/cobol_testgen/to_sql.py index 7a44e02..9b11c62 100644 --- a/cobol_testgen/to_sql.py +++ b/cobol_testgen/to_sql.py @@ -926,16 +926,6 @@ def build_db_input( rec = records[path_idx] if records and path_idx < len(records) else {} - if path_idx == 0 and rec: - with open(r'C:\Users\marye\AppData\Local\Temp\opencode\build_db_input_debug.txt', 'w') as _f: - _f.write(f"rec keys count={len(rec)}\n") - _f.write(f"has_HV-ANNUAL-H={'HV-ANNUAL-H' in rec}\n") - _f.write(f"has_working_storage={'working_storage' in rec}\n") - _f.write(f"HV-ANNUAL-H via _rec_get={_rec_get(rec, 'HV-ANNUAL-H', 'NOT_FOUND')!r}\n") - if 'HV-ANNUAL-H' in rec: - _f.write(f"HV-ANNUAL-H value={rec['HV-ANNUAL-H']!r}\n") - _f.write(f"all keys sorted={sorted(rec.keys())}\n") - for sql in sql_meta: atype = sql.get('type', '') table = sql.get('table', '')