Eileen,  that code sounds suspiciously like a huge security vulnerability?  Am 
I missing something?

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Barkow, Eileen
Sent: Thursday, October 18, 2018 9:46 AM
To: [email protected]
Subject: Re: get ECSA key 7 storage under CICS

**CAUTION EXTERNAL EMAIL**

**DO NOT open attachments or click on links from unknown senders or unexpected 
emails**

I actually have run a few CICS programs in supervisor state using an old SVC 
routine that LRS used to provide - You just pass it the address of the code to 
run and it sets the JSCBAUTH bit on so that the code runs in supervisor 
state/key 0.
I needed this in order to issue MVS commands directly from CICS, like VTAM 
commands to vary devices INACT and START commands for various things.
I still have the SVC code if anyone wants it.

The problem with CICS has always been that it sets the JSCBAUTH  bit off after 
initialization so that APF authorized programs cannot run.



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Binyamin Dissen
Sent: Thursday, October 18, 2018 7:13 AM
To: [email protected]
Subject: Re: get ECSA key 7 storage under CICS

You need to be supervisor state to do this. Using CICS just because it is 
easier is a wrong decision.

But if you are sold on using CICS, you would need to write a SVC routine to 
actually do the work and have your transaction supply a CICS area as a buffer 
and the SVC routine will do the IFI work and return the record.

On Thu, 18 Oct 2018 05:08:36 -0500 Wang Rong <[email protected]> wrote:

:>Hi Binyamin,
:>
:>     Many thanks to your quick replay.
:>     I'm trying to capture/send DB2 log record using IFI call. The storage 
requirement is ECSA key 7 storage: "The return area for monitor programs that 
issue IFCID 0306 requests must reside either in ECSA key 7 storage or in the 
64-bit common key 7 storage area above the 2-GB bar" (from IBM book).
:>     I prefer to use CICS because it's easy programming.
:>
:>

--
Binyamin Dissen <[email protected]> http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me, you should 
preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems, especially those 
from irresponsible companies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

________________________________

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN **CAUTION EXTERNAL 
EMAIL**

**DO NOT open attachments or click on links from unknown senders or unexpected 
emails**


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

Reply via email to