The userid is normally an alias for a user catalog, and I would not expect anybody to use it as a dsname in a TSO command. Similarly, most installations don't allow cataloging datasets in the master catalog, so I wouldn't expect there to be a conflict between dsname and member, only between ddname and member.
YMMV -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Bob Bridges <robhbrid...@gmail.com> Sent: Saturday, October 2, 2021 9:35 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: PL/I vs. JCL No, I think it's possible (though unlikely) for a string to represent both at the same time. If nothing else, the TSO alias that's used to catalogue my datasets is a dataset, sort of, isn't it? So if I allocate a DD named BBRIDGE, and then ask DSDD about BBRIDGE, it would at that time be both a dataset and a DD. But even if LISTDSI doesn't see a TSO alias as a dataset, there can be DSNs with just one node. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* If you think education is expensive, try ignorance. -Derek Bok, President, Harvard University */ -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Seymour J Metz Sent: Friday, October 1, 2021 10:41 Can you guarant[ee] that there will never be a name that is used for both a member and a ddname? ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Bob Bridges <robhbrid...@gmail.com> Sent: Friday, October 1, 2021 9:21 AM ....a function DSDD that receives a string and returns a code telling whether the string represents a catalogued DS, an allocated DD, or both, or neither.... ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN