Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Is there any command in TSO to find a particular userid

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Is there any command in TSO to find a particular userid
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

Site Director


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

PostPosted: Tue Jun 05, 2007 6:18 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 05, 2007 6:18 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 05, 2007 6:33 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Jun 05, 2007 6:55 pm    Post subject:
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

Moderator Team Head


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

PostPosted: Wed Jun 06, 2007 12:53 am    Post subject: Re: Is there any command in TSO to find a particular userid
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

Site Director


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

PostPosted: Wed Jun 06, 2007 1:05 am    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Jun 06, 2007 5:50 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us