In a message dated 6/4/2008 5:26:43 A.M. Central Daylight Time, [EMAIL PROTECTED] writes: >How can i determine in an assembler program whether a dataset is allocated on dasd or vio? Find the UCB for the device allocated to the data set. One possible way to find the UCB is to find the data set's entry in the TIOT. If you know the DDName, you can scan the TIOT looking for the same DDName. The TIOT entry has the UCB address in it. Add the UCB mapping DSECT IEFUCBOB to your program. If the field UCBJBNR in the UCB has the UCBVRDEV bit on, then the device is VIO. Also the field UCBDUMMY should contain the EBCDIC string "VIO".
Bill Fairchild Rocket Software **************Get trade secrets for amazing burgers. Watch "Cooking with Tyler Florence" on AOL Food. (http://food.aol.com/tyler-florence?video=4?&NCID=aolfod00030000000002) ---------------------------------------------------------------------- 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

