CLOSE command

Used to close ACL tables, index files, or log files, or to end Script Recorder sessions.

Syntax

CLOSE <table_name|PRIMARY|SECONDARY|INDEX|LOG|LEARN>

Parameters

table_name

Optional. Specifies the name of the ACL table to close.

PRIMARY

Optional. Closes the primary ACL table.

SECONDARY

Optional. Closes the secondary ACL table.

INDEX

Optional. Closes the current index applied to the ACL table.

LOG

Optional. Returns the log file to the default command log, after the SET LOG command has been used to specify another log file.

LEARN

Optional. Ends the active Script Recorder session, and prompts you to save the script file the session was recorded to. The LEARN parameter can be used in scripts, but its intended use is in the command line. The Script Recorder records the ACLScript syntax for commands that are executed by specifying the parameters in ACL dialog boxes.

Remarks

You typically do not need to close ACL tables, because ACL automatically closes the active table when you open another table.

You can close tables by name by specifying the table name, or you can close tables by type by using the PRIMARY or SECONDARY keywords. Using the CLOSE command without any parameters closes the primary table. ACL automatically closes the primary table before executing the OPEN or QUIT commands. When you close a primary or secondary table, ACL removes all related field definitions from memory. Any changes to the table layout are saved before the table is closed.

If you have defined table relations in an ACL project, the CLOSE command closes both the primary and any secondary tables, in addition to the related tables.

You cannot use the CLOSE command to close an ACL project.

Examples

a. Close a table by name

CLOSE Inventory

b. Close a table by type

CLOSE SECONDARY

c. Restore the default ACL command log
SET LOG TO "DataVerificationPhase.log"
COMMENT Execute data verification commands
CLOSE LOG


(C) 2013 ACL Services Ltd. All Rights Reserved. | Send feedback