Walt - I have a reason where I would like to check for MOD. I'm aware that the NEW bit can also be set.
Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, May 29, 2013 at 5:50 PM, Walt Farrell <[email protected]>wrote: > On Wed, 29 May 2013 16:54:49 -0500, Kirk Wolf <[email protected]> wrote: > > >Is there an easy way for a program to get the DISP (NEW/MOD/SHR/OLD) of a > >DD from the TIOT, or do you have to do a RDJFCB? > > I'm somewhat curious why you'd want to know, from a program, Kirk. > > But however you get it, I'll mention that NEW and MOD are not necessarily > distinct. That is, they are certainly separate keyword values, but if the > data set does not already exist then MOD can act like NEW. That's a large > part of my wondering why it's significant to the program, since I can't > think of a way to make a meaningful distinction between those two values of > DISP. > > -- > Walt > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
