------------------------------------------<snip>------------------------------------

True confession time: I've never used DEVTYPE. Questions:

1. Is it "low overhead"? How would you guess it compares to searching the
TIOT and issuing a SWAREQ? I'm not concerned about one or two instructions
here, but I'm trying to avoid OPEN or SVC 99, for example.

2. Are there any advantages over the TIOT/SWAREQ/NULLFILE approach? I don't
think I need any other device type information, and I do already have
"search the TIOT" code.

3. Where is it documented? I don't see it in MVS Assembler Services,
Authorized Assembler Services, or DFSMS Macros.
--------------------------------------<unsnip>--------------------------------------
Charles, AFAIK DEVTYPE returns information gathered from within the active nucleus and/or UCB list. There is no allocation or I/O involved.

DOC for DEVTYPE used to be in "Data Management for Systems Programmers", right after the section on EXCP/XDAP. Haven't looked for it recently.

Rick

----------------------------------------------------------------------
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