SQL*Plus Invoked from a Ksh Script May Fail with Error: SP2-0042: Unknown Command "EOS" (Doc ID 1634764.1)

Last updated on OCTOBER 27, 2016

Applies to:

SQL*Plus - Version 11.2.0.3 and later
Generic UNIX

Symptoms

 A script like the one below

Changes

Running the script on a different platform. In this case, the script worked fine on RHEL 5, but raised SP-0042 error when deployed on RHEL 6.

Cause

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