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
tony.lubr...@neon.com
 
What is zPrime?  Find out at www.zprime.com or just ask us!
 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Rob Scott
Sent: Friday, February 12, 2010 9:07 AM
To: IBM-MAIN@bama.ua.edu
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: rsc...@rs.com
Web: www.rocketsoftware.com

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Tony Lubrano
Sent: 12 February 2010 14:55
To: IBM-MAIN@bama.ua.edu
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
tony.lubr...@neon.com
 
What is zPrime?  Find out at www.zprime.com or just ask us!
 
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Charles Mills
Sent: Friday, February 12, 2010 8:46 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Determining if DUMMY allocation

> look in the TIOT

Where?

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Shmuel Metz (Seymour J.)
Sent: Thursday, February 11, 2010 9:03 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Determining if DUMMY allocation

In <013801caab27$c57da320$5078e9...@org>, on 02/11/2010
   at 06:37 AM, Charles Mills <charl...@mcn.org> 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.
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu 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 
lists...@bama.ua.edu 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 lists...@bama.ua.edu 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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to