Problem Note 20736: Using the Oracle Bulk Loader under z/OS to create multiple Oracle tables
might cause an error
If you use Oracle Bulk Loader under z/OS to create multiple Oracle
tables, you might receive the following error:
ERROR: Error attempting to CREATE a DBMS table. ERROR: File is already
open.
This error happens if you attempt to create the tables using a DATA step
similar to the following:
/* Create two oracle tables in single data step */
data oralib.a1 (bulkload=yes sqlldr=yes)
oralib.a2 (bulkload=yes sqlldr=yes);
set work.tmp;
run;
One potential cause of the error is related to the unique numbers
assigned to the control (.CTL), data (.DAT), and log (.LOG) files
created by the bulk loader. Each filename and data set name are
identified by these unique numbers. This process works when only one
table is created. However, when multiple tables are created, the numbers
might be generated in quick succession, making it possible for the same
HHMMSS base to be used. As a result, the same number will be created
twice, making it no longer a unique number. This problem returns an
error showing that an attempt was made to assign the same data file
twice.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Oracle | z/OS | 9.1 TS1M3 | 9.2 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Topic: | SAS Reference ==> LIBNAME Engines Data Management ==> Data Sources ==> External Databases ==> Oracle
|
Date Modified: | 2007-08-22 08:23:09 |
Date Created: | 2007-08-02 15:51:58 |