Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
No new posts Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us