Re: How to Get UserID in non-TSO REXX

2022-02-17 Thread Seymour J Metz
To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to Get UserID in non-TSO REXX On Wed, 16 Feb 2022 21:25:23 +, Seymour J Metz wrote: >It would definitely be more fun if two different users had the same UID. > RACF should prohibit that. That's what group IDs are for. That's what BPX.SUP

Re: [EXTERNAL] Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Wayne Bickerdike
t. > > Charles > > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Pommier, Rex > Sent: Wednesday, February 16, 2022 2:41 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: [EXTERNAL] Re: How to Ge

Re: [EXTERNAL] Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Charles Mills
. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Pommier, Rex Sent: Wednesday, February 16, 2022 2:41 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Re: How to Get UserID in non-TSO REXX It probably is but PCI DSS

Re: [EXTERNAL] Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Pommier, Rex
Mainframe Discussion List On Behalf Of Charles Mills Sent: Wednesday, February 16, 2022 4:34 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: How to Get UserID in non-TSO REXX Prohibited by PCI DSS, is it not? Charles -Original Message- From: IBM Mainframe Discussion List

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Charles Mills
Prohibited by PCI DSS, is it not? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bob Bridges Sent: Wednesday, February 16, 2022 2:32 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to Get UserID in non-TSO REXX Two

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Bob Bridges
Two ~humans~ can use the same ID. But RACF cannot prohibit that, for RACF can never know it. For most purposes the security folks should prohibit it, if they're allowed to. But I suppose there may be cases where it's not the worst thing in the world...very ~rare~ cases. --- Bob Bridges,

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Steve Smith
Ooops. OK, I have no excuse. I just missed it. Thank-you to all who provided answers. sas On Wed, Feb 16, 2022 at 4:48 PM Seymour J Metz wrote: > REXX is packaged with TSO/E even though there are non-TSO environments, > and the USERID() function is listed in the section on built-in

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Seymour J Metz
on behalf of Steve Smith Sent: Wednesday, February 16, 2022 4:30 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to Get UserID in non-TSO REXX Well, I do RTFM, but I haven't yet managed to read every chapter of every manual. I missed the USERID() function; probably because I need a non-TSO function

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Paul Gilmartin
On Wed, 16 Feb 2022 21:25:23 +, Seymour J Metz wrote: >It would definitely be more fun if two different users had the same UID. > RACF should prohibit that. That's what group IDs are for. That's what BPX.SUPERUSER is for. What if two different users had the same TSO ID? (It's done;

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Steve Smith
Well, I do RTFM, but I haven't yet managed to read every chapter of every manual. I missed the USERID() function; probably because I need a non-TSO function, so I didn't scrutinize the TSO list (and I may have assumed that since it was provided by SYSVAR, looking for a different way to do it on

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Seymour J Metz
...@listserv.ua.edu] Sent: Wednesday, February 16, 2022 3:51 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to Get UserID in non-TSO REXX On Wed, 16 Feb 2022 12:42:13 -0800, Ed Jaffe wrote: >On 2/16/2022 11:11 AM, Steve Smith wrote: >> Is there any way to obtain the userid (user name

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Charles Mills
[mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Paul Gilmartin Sent: Wednesday, February 16, 2022 12:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to Get UserID in non-TSO REXX On Wed, 16 Feb 2022 14:11:06 -0500, Steve Smith wrote: >Is there any way to obtain the userid (user name) in REXX runn

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Paul Gilmartin
On Wed, 16 Feb 2022 12:42:13 -0800, Ed Jaffe wrote: >On 2/16/2022 11:11 AM, Steve Smith wrote: >> Is there any way to obtain the userid (user name) in REXX running in a >> non-TSO environment? I know that sysvar does not work in USS, IRXJCL, or >> System REXX TSO=NO. Whereas mvsvar does (go

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Seymour J Metz
-requ...@listserv.ua.edu] Sent: Wednesday, February 16, 2022 3:24 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: How to Get UserID in non-TSO REXX On Wed, 16 Feb 2022 14:11:06 -0500, Steve Smith wrote: >Is there any way to obtain the userid (user name) in REXX running in a >non-TSO environme

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Ed Jaffe
On 2/16/2022 11:11 AM, Steve Smith wrote: Is there any way to obtain the userid (user name) in REXX running in a non-TSO environment? I know that sysvar does not work in USS, IRXJCL, or System REXX TSO=NO. Whereas mvsvar does (go figure). It's so fundamental that I think I can't be the first

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Paul Gilmartin
On Wed, 16 Feb 2022 14:11:06 -0500, Steve Smith wrote: >Is there any way to obtain the userid (user name) in REXX running in a >non-TSO environment? I know that sysvar does not work in USS, IRXJCL, or >System REXX TSO=NO. Whereas mvsvar does (go figure). It's so fundamental >that I think I

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Mike Shaw
This assembler sequence does it by capturing the 8-byte TSO/E userid from the JSAB; you could use the REXX STORAGE function to do the same: L R15,PSAAOLDGet A(my ASCB) L R15,ASCBASSB-ASCB(,R15) Get A(my ASSB) L R15,ASSBJSAB-ASSB(,R15) Get A(JSAB) MVC

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Charles Mills
. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Steve Smith Sent: Wednesday, February 16, 2022 11:11 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How to Get UserID in non-TSO REXX Is there any way to obtain the userid (user name

Re: How to Get UserID in non-TSO REXX

2022-02-16 Thread Itschak Mugzach
If you run under system Rexx you can access the ACEE using storage function calls as it is an authorised environment. בתאריך יום ד׳, 16 בפבר׳ 2022 ב-21:11 מאת Steve Smith : > Is there any way to obtain the userid (user name) in REXX running in a > non-TSO environment? I know that sysvar does

How to Get UserID in non-TSO REXX

2022-02-16 Thread Steve Smith
Is there any way to obtain the userid (user name) in REXX running in a non-TSO environment? I know that sysvar does not work in USS, IRXJCL, or System REXX TSO=NO. Whereas mvsvar does (go figure). It's so fundamental that I think I can't be the first one to need this. -- sas