IMPORT command

The IMPORT command copies a sequential dataset created by the EXPORT command to a tableBASE library. Used in conjunction with the EXPORT command, the IMPORT command provides a mechanism to synchronize tableBASE tables and libraries residing on different platforms.

Import

LIB=(library name)
FROM=(DDNAME)
REPLACE=NO/YES;

Required keyword
Required keyword
Replace tables on the library, NO is the default value

Action

The fixed-length sequential file (DSORG=PS) defined by the DDNAME specified in the FROM keyword will be written to the library specified by the DDNAME defined in the LIB keyword. The command also lists the number of tables imported. Table passwords in the originating library are retained.