As Gerhard pointed out in an earlier post, the 3rd byte of the 4 bytes of device type info are documented in the UCB macro in the field UCBTBYT3, where X'80' denotes a tape device (which corresponds to HSM level 2) and X'20' denotes a direct access device (which corresponds to HSM level 1).
Bill Fairchild Software Developer Rocket Software 275 Grove Street * Newton, MA 02466-2272 * USA Tel: +1.617.614.4503 * Mobile: +1.508.341.1715 Email: [email protected] Web: www.rocketsoftware.com -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Gerhard Postpischil Sent: Monday, April 27, 2009 8:26 AM To: [email protected] Subject: Re: Where are the device codes (returned by LOCATE) defined? Binyamin Dissen wrote: > I was hoping that there was some bit combination that would indicate a > migrated dataset. Not to my knowledge. For HSM, a migrated data set has serial of MIGRAT, then third byte of x'20' for level 1, and 'x80' for level 2. IIRC, similar information is available from IDCAMS DCOLLECT. ---------------------------------------------------------------------- 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

