Interesting thread.  From my strictly application-programmer level TSO userid 
(the only one I have), entering those commands from TSO OMVS yields the 
following results:

$ who am i                       
$ whoami                         
TSOUSER                          
$ id                             
uid=6101(TSOUSER) gid=60(OAPLGRP)
$ logname                              
FSUM6764 logname: cannot get login name
$                                      

(Real userid was replaced by TSOUSER).  No results at all from "who am I" and a 
failure from "logname".

I suspect but cannot prove that system-programmer authority levels probably 
produce distinctly different results.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of venkat kulkarni
Sent: Friday, December 13, 2013 1:37 PM
To: [email protected]
Subject: Re: OMVS UID display

LOGNAME command gives my RACF ID . Then what is the use of ID and WHOAMI
command. Why these command is working for some of them and for others not.

On Sat, Dec 14, 2013 at 12:03 AM, Bonno, Tuco <[email protected]> wrote:

>
> try "logname" ( w/o the the double quotes )
>

--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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

Reply via email to