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

Execute REXX/CLIST with the authority of another ID


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

New User


Joined: 11 Mar 2007
Posts: 3
Location: INDIA

PostPosted: Sun Mar 11, 2007 8:27 pm
Reply with quote

How can I execute a REXX/CLIST from my session with the authority of another ID.
Given that the userid and the password is known.
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: Mon Mar 12, 2007 4:41 am
Reply with quote

Hello,

Why do you need the authority of another user?

If the task is something you are authorized to do, you need to be granted the permissions or put into a group that does.

This is something to talk with your security admins or management about.
Back to top
View user's profile Send private message
subhra

New User


Joined: 11 Mar 2007
Posts: 3
Location: INDIA

PostPosted: Mon Mar 12, 2007 8:05 pm
Reply with quote

Very often we lose connectivity to the mainframe which locks out our TPX sessions.
To login again we either have to wait for the session to timeout or we have to request the minframe monotoring team to cancel our session so that we can login again. Both ways it takes quite a long time before we can resume work.

I was looking for a possible REXX/CLIST which we can use from someone else's session to kill our sesssion to enable us to login again.

I have rexx which to kill my own session but it cannot be used to kill someone else's session for lack of authority. Hence I was looking for a way to execute the same rexx with the authority of another user.

I hope I have been able to convey the requirement.

Please do let me know if there is a simpler solution to this than what I am thinking.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Mar 12, 2007 8:08 pm
Reply with quote

Don't know how your shop has setup TPX, but you should be able to cancel your own session(s) using TPX.

Otherwise, the only option I can think of is to run your code in batch, using the required userid/password on the JOB statement.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Mar 12, 2007 8:14 pm
Reply with quote

subhra wrote:
Very often we lose connectivity to the mainframe which locks out our TPX sessions.


This seems like a major issue that should be addressed with the Operations Staff/System Administrators. It shouldn't be tolerated for any reason.
Back to top
View user's profile Send private message
subhra

New User


Joined: 11 Mar 2007
Posts: 3
Location: INDIA

PostPosted: Tue Mar 13, 2007 8:46 am
Reply with quote

Superk,

Thanks for your advice.

I was able to run the rexx in batch mode and kill the session.

- Subhra
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top