Learn the correct command that TSO users must enter to start DB2. Get a clear explanation of how to launch DB2 from TSO.
Table of Contents
Question
What is the command used by TSO users to invoke DB2?
A. DSN RUN
B. RUN DB2
C. Start DB2
D. Kickoff
Answer
A. DSN RUN
Explanation
The command used by TSO (Time Sharing Option) users to invoke DB2 is:
DSN
The correct syntax is:
DSN SYSTEM(subsystem-name)
Where “subsystem-name” is the name of the DB2 subsystem you want to connect to.
So the correct answer is A. DSN RUN
“RUN DB2”, “Start DB2”, and “Kickoff” are not valid commands for invoking DB2 from TSO. Only the DSN command followed by the SYSTEM parameter specifying the DB2 subsystem name will properly start a DB2 session for a TSO user.
The DSN command is an attachment facility that allows TSO users to communicate with and execute commands in DB2. It essentially launches an interactive DB2 session from within the TSO environment. Without using the DSN command, a TSO user would not be able to access DB2 databases and execute SQL statements.
Wipro Mainframe MySkillz Trendnxt certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Wipro Mainframe MySkillz Trendnxt exam and earn Wipro Mainframe MySkillz Trendnxt certification.