If you have an existing control table, you can use
it. If you do not use an existing control table, you can use the Code
Editor window in SAS Data Integration Studio to execute an SQL statement.
The statement creates an empty instance of the table that has same
column structure as the dictionary table for the library. Then use
New Table wizard to register the empty table. Perform the following
steps to create the empty control table:
-
Determine
the identity and location of the library that contains the tables
that you need to process in an iterative job.
-
From the
SAS Data Integration Studio desktop, select
ToolsCode Editor.
The Source
Editor window appears. Submit code similar to the following code:
libname tgt 'C:\targets\sas1_tgt';
proc sql;
create table tgt.CHECKLIB
as select *
from dictionary.tables
where libname='checklib';
quit;
Be sure
to check the
Log tab to verify that the code
ran without errors.
-
Register
the table that you just created using the Register Tables wizard.
This action creates a metadata object for the table.
-
(Optional)
You can confirm that the empty control table was created in physical
storage. Right-click the metadata object for the table and select
Open. A sample empty control table is shown in the following
example.
View of Empty Control Table Output