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
 

 

Execute REXX/CLIST with the authority of another ID

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Execute REXX/CLIST with the authority of another ID
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

Site Director


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

PostPosted: Mon Mar 12, 2007 4:41 am    Post subject:
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    Post subject: Re: Execute REXX/CLIST with the authority of another ID
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

Moderator Team Head


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

PostPosted: Mon Mar 12, 2007 8:08 pm    Post subject: Re: Execute REXX/CLIST with the authority of another ID
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

Moderator Team Head


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

PostPosted: Mon Mar 12, 2007 8:14 pm    Post subject: Re: Execute REXX/CLIST with the authority of another ID
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    Post subject: Re: Execute REXX/CLIST with the authority of another ID
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    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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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