Charles Mills wrote:
> Is there a way to determine if a DD statement has been allocated DUMMY,
> short of SVC 99 info retrieval?

Sometimes I use the minimum call type of the DEVTYPE macro,
and test for zeros being returned, as per the DFSMSdfp
Advanced Services manual.

To be pedantic, I suppose I am assuming that file is not a
"TCAM application process queue".

The first fullword is documented as (hex)
0 - DUMMY (or that TCAM thing)
101 - TSO terminal
102 - subsystem eg. SYSIN, SYSOUT
103 - UNIX
with the last three supporting a maximum blocksize of 32760.

I'll have to try a DEVTYPE with /dev/null one day...
Gil's remarks warn us that it may return the data for DUMMY,
whereas is could be argued that it should return the data
for UNIX.

Cheers,
Greg

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