Multiple choice technology mainframe

How can we check whether DB2 environment is available for use ?

  1. "SUBCOM DSNDB2"

  2. "ADDRESS DSNREXX"

  3. "SUBCOM DSNREXX"

  4. "ADDRESS DSNDB2"

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

This question is DB2-mainframe specific. The SUBCOM command checks if a subsystem (like DSNREXX for DB2) is available for use. Option C ('SUBCOM DSNREXX') is the correct command to verify DB2 environment availability in a mainframe context. The other options either use incorrect command names or incorrect syntax.