Specified VOL=SER or VOL=REF wins, since it does no catalog search, works with non-SMS volumes. No VOL=SER the catalog entry is used.
On Mon, Nov 27, 2023 at 1:31 PM Paul Gilmartin < [email protected]> wrote: > Suppose I have two identical DSNs on different volumes. > One is catalogued; the other not. (Does SMS allow that > nowadays?) > > In a job step I allocate > DD DISP=(SHR,PASS),VOL=SER=<uncatalogued>... > > In a subsequent step, I allocate by DSN with no explicit > volume informarion. Which one wins, the passed or the > catalogued? > > Where is this clearly documented? I don't see t in > <https://www.ibm.com/docs/en/zos/3.1.0?topic=parameter-passing-data-set> > > How would a novice suss this out without a priori knowledge? > > What would ChatGPT say? > > -- > gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
