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

  • If you specify RECORD 0, or omit this parameter, the table layout is created without any records or a source data file.
  • If you specify RECORD 1 the table layout is created with a single empty record and a source data file named layout_name.fil.

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 analytics run on AX Server.

ACL Scripting Guide 14.1