David's suggestion is a good one (unless someone knows a time when it could be zeros and not indicate a DD DUMMY file).
TIOEFSRT is a GUPI field - although that doesn't always mean you can be assured of its usability in the future. 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 Jousma, David Sent: Friday, February 12, 2010 1:47 PM To: [email protected] Subject: Re: Determining if DUMMY allocation This is how we do it DDCHK CLC TIOEFSRT,=AL3(0) Q. REAL UCB ADDRESS ? BE DDBAD A. NO, BAD DD We test for the presence of DD DUMMY concatenated in the middle of a SORTIN concatenation in ICEIEXIT. If it is there, DFSORT drops all records after DD DUMMY, and still finished RC(0) _________________________________________________________________ Dave Jousma Assistant Vice President, Mainframe Services [email protected] 1830 East Paris, Grand Rapids, MI 49546 MD RSCB1G p 616.653.8429 f 616.653.8497 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of J R Sent: Friday, February 12, 2010 12:45 PM To: [email protected] Subject: Re: Determining if DUMMY allocation > 1.) Scan the TIOT... finding your DDName... If you're looking in the TIOT, what does TIOESTTB/TIOEFSRT show for a DUMMY allocation? > Date: Fri, 12 Feb 2010 10:46:36 -0500 > From: [email protected] > Subject: Re: Determining if DUMMY allocation > To: [email protected] > > Agreed Rob. > > However, to further respond to Charles' question, for a low overhead or non-SVC solution, > > 1.) Scan the TIOT... finding your DDName... > 2.) Use the SVA (SWAREQ) to find the JFCB > 3.) The JFCB data set name contains "NULLFILE" for both NULLFILE and DUMMY files. > > 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 Rob Scott > Sent: Friday, February 12, 2010 9:07 AM > To: [email protected] > Subject: Re: Determining if DUMMY allocation > > Tony > > Minor niggle - but shouldn't that be? : > > DEVTYPE =CL8'MYDDNAME',OUTAREA > IF (LTR,R15,R15,NZ) > *** DD Not allocated *** > ELSEIF (OC,OUTAREA,OUTAREA,Z) > *** DD DUMMY SPECIFIED *** > ENDIF , > > > > > Rob Scott > Developer > Rocket Software > 275 Grove Street * Newton, MA 02466-2272 * USA > Tel: +1.617.614.2305 > Email: [email protected] > Web: www.rocketsoftware.com > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Tony Lubrano > Sent: 12 February 2010 14:55 > 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: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/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 This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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

