I plead guilty. I did not have the docs in front of me. I do not have memorized 
what is TSO-only and what is not. He implied there was no function available so 
I pitched in to help.

Feel free to ignore my advice. <g>

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Wednesday, February 16, 2022 12:25 PM
To: [email protected]
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 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.
>
Errr... <https://www.ibm.com/docs/en/zos/2.5.0?topic=functions-userid>
(GIYF)

Why do so many mainframe programmers try to do things the hardest
way, such as chaining through control blocks?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to