View previous topic :: View next topic
|
Author |
Message |
chandana_msc
New User
Joined: 28 Mar 2007 Posts: 7 Location: hyderabad
|
|
|
|
Hi,
Can anyone help:
Is there any command in TSO to find a particular userid,if so how can we submit this command thru rexx. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Please clarify what your question is asking for. I don't understand what "find a particular userid" means.
Can you give an example of what you want returned when you "find" an id? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Can you elaborate on exactly what you want to achieve |
|
Back to top |
|
|
chandana_msc
New User
Joined: 28 Mar 2007 Posts: 7 Location: hyderabad
|
|
|
|
Hi,
Let me elaborate.My requirement is to find the login-id of a person that is a person who logged into mainframes(SYSUID in jcl) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
I should imagine that lots of people log into the mainframe, so what are they doing that makes you want to trace them ?
Updating files, deleting files, creating files, running jobs.
Until we know in detail what you want and why you want it, there is very little that anyone here can do to help you achieve your goal. |
|
Back to top |
|
|
chandana_msc
New User
Joined: 28 Mar 2007 Posts: 7 Location: hyderabad
|
|
|
|
Thanx expat.
I have a requirement to dynamically append the userid(login id) to the jobname using rexx and i have been told not to accept the userid from the user.
So is there any way to get the user-id without accepting it from the user. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
USERID = STRIP(SYSVAR(SYSUID)) returns the current user id into the variable USERID.
Had you have told us this in the original post, you would have had the answer ages ago |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
My interpretation is that the O/P wants to perform a lookup function, i.e. for a given RACF id or Username, return the associated TSO userid(s). |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Not sure i'm in tune here.
I believe the requirement is to not be given a RACF/TSS/ACF2 id, but to get the id from the system on the fly and append it to the JCL being created. The id retrieved/used would be the id of the currently logged on user. |
|
Back to top |
|
|
chandana_msc
New User
Joined: 28 Mar 2007 Posts: 7 Location: hyderabad
|
|
|
|
Thanx expat.
It worked.
I will make a point to be clearer in my requirement next time. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Good to hear this it is working
Thanks for posting your success. |
|
Back to top |
|
|
chandana_msc
New User
Joined: 28 Mar 2007 Posts: 7 Location: hyderabad
|
|
|
|
Thanks dick. |
|
Back to top |
|
|
|