Skip to Content

Wipro Mainframe: What z/OS Command Displays All Paths to All Devices?

Learn about the z/OS command D M=DEV and how it can be used to display all paths to all devices on a mainframe system. Understand the syntax and usage with examples.

Table of Contents

Question

Which of the below command displaysall paths to all devices

A.D PATH
B. D PATHS, ALL
C. D M=DEV
D. None

Answer

C. D M=DEV

Explanation

The z/OS command “D M=DEV” (or “DISPLAY M=DEV”) is used to display information about all paths to all devices defined to the system. When executed, it shows a comprehensive list of available device paths.

The command syntax is: D M=DEV[(filterkey)]

Where the optional “filterkey” can be used to narrow down the displayed results to a specific device number or range.

Some key information provided by D M=DEV includes:

  • Device numbers
  • Device types (e.g. DASD, tape, console)
  • Channel path IDs (CHPIDs) associated with each device
  • Status of each device (online, offline, allocated, etc.)

Example output:

IEE174I 12.39.09 DISPLAY M 378 
DEVICE 0B80 STATUS=ONLINE 
DEVICE 0B81 STATUS=OFFLINE 
DEVICE 0C80 STATUS=ALLOCATED 
...

The other command options listed are incorrect:
– “D PATH” is not a valid z/OS command
– “D PATHS, ALL” is not a valid syntax
– “None” is incorrect since D M=DEV is the correct answer

In summary, D M=DEV is the z/OS command used to display comprehensive information about all device paths defined to the system, making it an essential tool for mainframe operators and administrators.

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.