Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Oracle on MVS able to submit JCL ??

Re: Oracle on MVS able to submit JCL ??

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Sat, 16 Nov 2002 03:03:24 -0800
Message-ID: <F001.0050500F.20021116030324@fatcity.com>


Babette Turner-Underwood wrote:
>
> Does anyone on this listserv using Oracle on a mainframe?
>
> I was asked today if I can use Oracle's extproc feature on the mainframe to
> submit JCL. I said that I doubted it because the OS structure is so much
> different than UNIX or NT, but I would look into it.
>
> Has anyone tried to somehow have Oracle PL/SQL trigger or submit JCL??
>
> Thanks
>

I have never tried it but I think you can basically do whatever you want with an extproc and the system() C call. A long time ago, with Oracle 6 I think, (before extproc were available) I wrote a daemon under VMS which was waiting on a DBMS_PIPE, getting commands, appending /OUTPUT=something (OK VMS-lovers, Unix pipes are a great thing ...), calling system(), reading the something file and shovelling the result back the DBMS_PIPE. Simpler of course with an external procedure. It was funny to issue VMS commands from client PC. If you can do it with DCL, there is no reason why you couldn't with JCL.

-- 
Regards,

Stephane Faroult
Oriole Software
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sat Nov 16 2002 - 05:03:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US