On Tue, Dec 29, 2015 at 11:37 AM, Paul Gilmartin <
[email protected]> wrote:

> On Tue, 29 Dec 2015 12:27:58 -0500, Ted MacNEIL wrote:
>
> >If you understand how UNIX works, this is quite sensible. See how the
> ISPF interface to USS works.
> >
> Or fails to work.  If under OMVS the user issues
>
>     su other
>     oedit file
>
> ... the ISPF editor is invoked not under the other user ID, but under the
> ID
> that issued the OMVS command.
>

​Which makes "sense" if you think about what the "oedit" command actually
does. Think of the OMVS command as doing a fork() to start a new UNIX
process. Which is what it does. But the "oedit" command is just a
communications tool to send a file name back to the "parent" process (ISPF)
telling it to do an ISPF edit on the given UNIX file. The "oedit" command
then "waits" for the ISPF process to tell it to resume. So the editing is
actually being done in the user's TSO address space. That's why you can
SWAP to another ISPF screen while doing an "oedit". The UNIX / OMVS process
is asleep during this time.

To me, this is conceptually similar to running a stored procedure in some
data bases. The user requests the stored procedure, but it runs using the
UNIX identity of the RDBMS server, not the user.​ At least, that's what
somebody told me. I don't remember which RDBMS they were talking about.


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



-- 
Computer Science is the only discipline in which we view adding a new wing
to a building as being maintenance -- Jim Horning

Schrodinger's backup: The condition of any backup is unknown until a
restore is attempted.

Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be.

He's about as useful as a wax frying pan.

10 to the 12th power microphones = 1 Megaphone

Maranatha! <><
John McKown

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

Reply via email to