> 3. Where is it documented? I don't see it in MVS Assembler Services, > Authorized Assembler Services, or DFSMS Macros.
It's in SC26-7400-09 z/OS V1R11.0 DFSMSdfp Advanced Services I've used it a lot in the distant past but not for a long time now. It issues SVC24. I don't think there is a branch entry option. > Date: Fri, 12 Feb 2010 10:01:34 -0800 > From: [email protected] > Subject: Re: Determining if DUMMY allocation > To: [email protected] > > 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. > > Charles > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf > Of Tony Lubrano > Sent: Friday, February 12, 2010 6:55 AM > To: [email protected] > Subject: Re: Determining if DUMMY allocation > > Charles, > > You can do a DEVTYPE macro to determine if the file is DUMMY or NULLFILE... > the returned area is low-values: > > DEVTYPE =CL8'MYDDNAME',OUTAREA > IF (LTR,R15,R15,NZ) > *** DD Not allocated *** > ENDIF , > IF (OC,OUTAREA,OUTAREA,Z) > *** DD DUMMY SPECIFIED *** > ENDIF , > > OUTAREA DS D > > Tony Lubrano > Product Author > NEON Enterprise Software, LLC. > p: 281 207 4922 f: 281 207 4973 > [email protected] > > What is zPrime? Find out at www.zprime.com or just ask us! > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf > Of Charles Mills > Sent: Friday, February 12, 2010 8:46 AM > To: [email protected] > Subject: Re: Determining if DUMMY allocation > > > look in the TIOT > > Where? > > Charles > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf > Of Shmuel Metz (Seymour J.) > Sent: Thursday, February 11, 2010 9:03 PM > To: [email protected] > Subject: Re: Determining if DUMMY allocation > > In <013801caab27$c57da320$5078e9...@org>, on 02/11/2010 > at 06:37 AM, Charles Mills <[email protected]> said: > > >Is there a way to determine if a DD statement has been allocated DUMMY, > >short of SVC 99 info retrieval? > > Before OPEN, use DEVTYPE or look in the TIOT. _________________________________________________________________ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. http://clk.atdmt.com/GBL/go/201469226/direct/01/ ---------------------------------------------------------------------- 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

