CREATE LAYOUT command
Creates an empty Analytics table layout, which may be required in certain scripting situations.
Syntax
CREATE LAYOUT layout_name WIDTH characters <RECORD 0|RECORD 1>
Parameters
Name | Description |
---|---|
layout_name |
The name of the layout. |
WIDTH characters |
The record length in characters. |
RECORD 0 | RECORD 1 optional |
|
Examples
Creating an empty table layout without any records
You create an empty table layout with a record length of 100 characters:
CREATE LAYOUT empty_table WIDTH 100
Creating an empty table layout with one record
You create:
- an empty table layout with one empty record
- a record length of 50 characters
- an associated Analytics data file called empty_table.fil
CREATE LAYOUT empty_table WIDTH 50 RECORD 1
Remarks
The empty table layout is created with a single character field called Field_1. The field length is the same as the record length you specify with WIDTH.
Note
This command is not supported for use in Analytics scripts run on AX Server.