Thanks all. DEVTYPE did the trick. Catches both omitted and DUMMY/NULLFILE with minimum extraneous fuss.
DEVTYPE is dead simple, and also dead simple-minded. Did not like a high order X'80' in the second address, and I am too simple-minded to get an NILH right in less than about five tries. Brings to mind an interesting question. The AMODE is 31, right, not 32? Should a service not ignore bit 32? It ignores bits 0-31, which are irrelevant to AMODE 31, so why not bit 32?. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Steve Smith Sent: Tuesday, February 19, 2019 8:51 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Any easier way to determine if DD is dummy than GETDSAB? If the customer has to specify any JCL, then using a specified DDname is the idiomatic way to go. DEVTYPE is dead simple for sniffing out DUMMY vs. spool vs. DASD vs. TAPE vs. missing. I wouldn't use RDJFCB just for that. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN