How to Call a UNIX Shell Script From PL/SQL Using External Procedures (Doc ID 168065.1)

Last updated on OCTOBER 31, 2016

Applies to:

PL/SQL - Version 9.2.0.8 and later
Information in this document applies to any platform.
***Checked for relevance on 31st Oct 2016***

Goal

How to call a UNIX shell script from PL/SQL.  We will demonstrate as a procedure, as well as a function (so you can have a return value for success/failure).

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms