RDBPROD: How to get error codes from SQL statements in DCL (Doc ID 810963.1)

Last updated on AUGUST 03, 2016

Applies to:

Oracle Rdb Server on OpenVMS - Version 7.0 and later
HP OpenVMS Itanium
HP OpenVMS Alpha
HP OpenVMS VAX

Goal

Using an SQL script file that contains some insert statements to a table, if one of the inserts fails, how can one find the error using DCL so that error handling can be done from a DCL command procedure?

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