IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is there any command in TSO to find a particular userid


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chandana_msc

New User


Joined: 28 Mar 2007
Posts: 7
Location: hyderabad

PostPosted: Tue Jun 05, 2007 4:31 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jun 05, 2007 6:18 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 05, 2007 6:18 pm
Reply with quote

Can you elaborate on exactly what you want to achieve
Back to top
View user's profile Send private message
chandana_msc

New User


Joined: 28 Mar 2007
Posts: 7
Location: hyderabad

PostPosted: Tue Jun 05, 2007 6:25 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 05, 2007 6:33 pm
Reply with quote

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
View user's profile Send private message
chandana_msc

New User


Joined: 28 Mar 2007
Posts: 7
Location: hyderabad

PostPosted: Tue Jun 05, 2007 6:39 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jun 05, 2007 6:55 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Jun 06, 2007 12:53 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 06, 2007 1:05 am
Reply with quote

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
View user's profile Send private message
chandana_msc

New User


Joined: 28 Mar 2007
Posts: 7
Location: hyderabad

PostPosted: Wed Jun 06, 2007 11:21 am
Reply with quote

Thanx expat.
It worked.
I will make a point to be clearer in my requirement next time.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jun 06, 2007 5:50 pm
Reply with quote

Good to hear this it is working icon_smile.gif

Thanks for posting your success.
Back to top
View user's profile Send private message
chandana_msc

New User


Joined: 28 Mar 2007
Posts: 7
Location: hyderabad

PostPosted: Wed Jun 06, 2007 6:14 pm
Reply with quote

Thanks dick.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
Search our Forums:

Back to Top