Multiple choice technology databases

We can declare DB2 host variables in a COBOL copybook

  1. True

  2. False

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

DB2 host variables cannot be declared inside a standard COBOL copybook if they are to be processed by the DB2 precompiler, because the precompiler processes host variable declarations before expanding standard COBOL copybooks.