Multiple choice technology mainframe

SQL data type DATE, TIME or TIMESTAMP will be accdepted as character strings in COBOL program

  1. True

  2. False

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

SQL DATE, TIME, and TIMESTAMP data types are NOT accepted as character strings in COBOL programs. They must be declared using specialized SQL host variable declarations (like SQL DATE, SQL TIME, SQL TIMESTAMP) or converted using explicit date/time handling routines. Direct character string assignment would cause type mismatch errors.