Skip to Content

Wipro Mainframe: What Command Displays the Status of the First Online DASD Device in z/OS?

Learn the exact z/OS command to check the status of the first online DASD device. Get a clear explanation of the syntax and options used in this commonly asked Mainframe question.

Table of Contents

Question

What is the command used to determine the status of the first online DASD device?

A. D U,,ONLINE,100,1
B. D U,DASD,200,8
C. D U,DASD,ONLINE,0000,1
D. None of the above

Answer

The correct command to determine the status of the first online DASD device is:

A. D U,,ONLINE,100,1

Explanation

This z/OS console command has the following syntax and options:
D (or DISPLAY) – Displays information
U (or UNIT) – Indicates displaying unit status
,,ONLINE – Shows only online devices
100 – Starts displaying from device address 100
1 – Shows only 1 device

By leaving the second parameter blank and specifying ONLINE, this will display the first online DASD starting from address 100. The 100 and 1 options limit the output to just the first online device found.

The other command variations listed would not provide the desired information:

  • D U,DASD,200,8 would start at address 200 and show 8 DASD devices, regardless of status
  • D U,DASD,ONLINE,0000,1 is not a valid command

Therefore, D U,,ONLINE,100,1 is the correct choice to succinctly display just the status of the first online DASD device. This command is useful for quickly checking DASD status.

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.