Multiple choice technology mainframe

What is the function of a precompiler ?

  1. Extracts the SQL statements and place them into load.

  2. Extracts the SQL statements and place them into DBRM.

  3. Extracts the COBOL statements and place them into DBRM.

  4. Extracts the COBOL statements and place them into load.

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

The DB2 precompiler processes source code containing embedded SQL, extracts the SQL statements to create a Database Request Module (DBRM), and replaces them with host-language calls.