Thanks. The exit is for the built-in Roscoe console interface, and the intention of the exit point is to allow or deny the command before Roscoe actually issues the command. So it really wouldn’t be a good idea to issue the command from the exit itself.
If the CONSOLE interface in Roscoe was (in my words) written correctly, it would issue the commands under the ACEE of the user to begin with and have no need to write such an exit. Unfortunately, Roscoe is a product of a by-gone era, and pretty much functionally stabilized by the vendor. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Elardus Engelbrecht Sent: Tuesday, March 11, 2014 10:26 AM To: [email protected] Subject: Re: CA-Roscoe shops around? Jousma, David wrote: >Thanks. I have plenty of examples of that. Not a problem. I appreciate >that offer though. These will all be 3rd party calls. Ok. That is Ok. >To really complete a job that CA has not done, I am going to have to do a >couple of SAF calls. Will need a call for OPERCMDS to validate authority to >issue the command they want, and then for JES commands that affect JOB/STC/TSU >do they also have authority through JESSPOOL facility to modify these jobs. From what you explain, you need to set the ACEE of the exit to the user and then issue the JES command via say SVC34? I don't think you need to check the JESSPOOL because JES2 will check the JESSPOOL anyways when receiving a command as long it gets the command with its correct id as issuer. The same goes for OPERCMDS, the system will call RACF too. >All this would be much simpler, if the operator commands were being issued >under the ACEE of the user, not the Roscoe region. Then there would be >nothing to do in any exits.... I believe there are samples on CBTTAPE where you can set your address space ACEE to something else with these: RACROUTE ENVIR=CREATE and RACROUTE ENVIR=DELETE. Of course the exit needs AC(1). Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN This e-mail transmission contains information that is confidential and may be privileged. It is intended only for the addressee(s) named above. If you receive this e-mail in error, please do not read, copy or disseminate it in any manner. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
