In a message dated 4/20/2007 11:03:54 A.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:
>Is there any macro to retrieve DASD box serial #?




Yes.  Use UCBINFO with the GETCDR parameter.  This will return to  your 
program the Configuration Data Record (CDR).  It will be 256 bytes  long.  The 
box 
serial # is in the CDR data.  The format of the 256  bytes returned is 
described in the control unit reference manual (2105, 3990,  etc.).  You have 
to make 
sure you are looking at the correct 32-byte Node  Element Descriptor (NED) 
within those 256 bytes.  There are possibly eight  different NEDs in the 256 
bytes, and more than one has a serial number in  it.  It depends on exactly 
what 
you mean by "box".  Study the control  unit book's description.
 
Bill  Fairchild
Plainfield, IL

"Today it's oil, right? ... Ask them when  they're running out. Ask them when 
there's
no heat in their homes and they're  cold. ... They won't want us to ask them. 
They'll just want us to get it for  them." [Higgins to Turner in 1975 movie 
Three Days of the  Condor]



************************************** See what's free at http://www.aol.com.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to