Is there a reasonable way for a program to tell if an allocated input dataset was located via a catalog, or OTOH from a DD statement VOLSER?
Yes, I could look up the DSN with LOCATE and CAMLST, but it's not quite the same thing (it's whether a DS of that name is cataloged, not whether THIS DS was found in the catalog - although I suppose I could compare volumes or something). I could look at JFCBVOLS (which I assume is only set if VOL=SER was coded in the DD statement). Is that the best test? Is there a bit somewhere or some other definitive test? Charles Mills ---------------------------------------------------------------------- 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

