Maybe you should review the manual....this is from z/os USS command ref.
The whoami command displays a username associated with the effective user ID, unlike the who am icommand which displays the login name. For example, if you login as 'user1' but then you use the su command to change to 'user2': command returned who am I user1 whoami user2 For more information about the whoami command, see the whoami command description in z/OS UNIX System Services Command Reference. Scott ford www.identityforge.com from my IPAD 'Infinite wisdom through infinite means' > On Dec 13, 2013, at 12:18 PM, venkat kulkarni <[email protected]> > wrote: > > Hello, > When I am trying to use WHOAMI command on omvs I am getting my UID > displayed, but my requirement is to display userid as output of WHOAMI > command. > > Can anyone one suggest where to make this change to display userid inplace > of UID for this command. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
