Multiple choice technology mainframe

Which DB2 Utility is used to declare Tables in cobol/DB2 programs

  1. DCLGEN

  2. SQLCA

  3. SQLSTATE

  4. SQLCODE

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

DCLGEN (Declaration Generator) is the DB2 utility that generates COBOL data structure declarations for database tables, enabling COBOL programs to interface with DB2 tables. SQLCA, SQLSTATE, and SQLCODE are communication areas and status codes used after SQL execution, not declaration utilities.