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
 
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: 4650
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: 4650
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

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