Exam4Training

What is the result?

In order to run a DB2 program, the user issues the following commands:

TSO prompt: READY

USER enters: DSN SYS(SSTR)

USER enters: RUN PROGRAM(MYPROG)

USER enters: END

What is the result?
A . DB2 does not allow these commands
B . DSN command can not be used to run a program
C . Start a DSN session with DB2 subsystem SSTR, run a program and end the DSN session
D . Start a DSN session with system parameters SSTR, run a program and end the DSN session

Answer: C

Explanation:

Reference: https://www.ibm.com/support/knowledgecenter/en/SSEPEK_10.0.0/comref/src/tpc/ db2z_cmd_dsn.html

Exit mobile version