Type
Control Command

Purpose
The import command imports a data file into the current application. It can be used to import data at any point during a procedure. After executing the import, the data can be used in the same procedure.

Syntax
import "IMPORT SPECIFICATION FILENAME" .
Usage
The import command can only be used to execute a previously defined Import Specification. The filename that follows the import command is the filename of the Import Specification. This name must be eight or fewer characters with no intervening spaces.

LAN
On a LAN (Local Area Network), if another user is currently using any resource required by the import command, DataEase displays a Resource Conflict message. While this message is displayed, DataEase automatically tries to execute the command at brief intervals.
When the required resource becomes available, DataEase automatically resumes processing and executes the rest of the procedure.

Example
import "MAILING LIST" .
run procedure "PRINT CONFIRMATIONS" .

This script tells DataEase: (1) Execute the MAILING LIST Import Specification, and (2) when the import is completed, run the PRINT CONFIRMATIONS procedure.