How to obtain a device ID (DEVID) listing using the CA OPS/MVS Switch Operations Facility Discovery Utility?

Document ID : KB000026100
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How to obtain a device ID (DEVID) listing using the CA OPS/MVS Switch Operations Facility Discovery Utility?

Answer:

The following batch OPIODIAG utility JCL can be run to retrieve a quick discovery listing of your ESCON/FICON switch environment.

//JOB_card
//OPIODIAG EXEC PGM=OPIODIAG
//STEPLIB DD DSN=SYS1.OPS.USSLOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*

Upon execution it will produce an output listing similar to this depending on how large your configuration is:

Switch summary for system XXXX
   Switch 0001:
   Switch is online
   Switch is allocated
   CHPIDs: 69 8E 8F
   DEVID: 009032.005.IBM.02.000000041203.0000
Switch 0002:
   Switch is online
   Switch is allocated
   CHPIDs: 21 22 40 43 48 49 4A 4C 4E 4F
   DEVID: 006064.001.MCD.01.000083120625.0000
Switch 0003:
   Switch is online
   Switch is allocated
   CHPIDs: 20 23 24 26 27 29 2B 2D 31 41
   DEVID: 006064.001.MCD.01.000083120625.0001
Switch 0005:
   Switch is online
   Switch is allocated
   CHPIDs: 68 6A 6C 86 8B
   DEVID: 009032.003.IBM.02.000000023438.0000

Additional Information:

If you need to obtain more detailed information under the direction of Customer Support you would execute the following JCL with the CAPTURE parameter:

//JOB_card
//OPIODIAG EXEC PGM=OPIODIAG,PARM='CAPTURE'
//STEPLIB DD DSN=SYS1.OPS.USSLOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//OUTFILE DD DSN=OPIODIAG.RESULTS,DISP=(NEW,CATLG),
//           UNIT=SYSDA,VOL=SER=your_volume,
//           SPACE=(16384,(1000,500),RLSE),
//           DCB=(RECFM=VB,LRECL=4092,BLKSIZE=16384)