ACLScript command syntax conventions

In this guide, the following conventions are used to describe the ACLScript command syntax.

Convention

Used for

UPPERCASE

ACLScript keywords.

italic

User-supplied parameters of ACLScript syntax.

bold

Text that must be typed exactly as shown.

| (vertical bar)

Separates syntax items enclosed in brackets or braces. You can use only one of the items.

< > (brackets)

Optional syntax items. Do not type the brackets.

{ } (braces)

Required syntax items. Do not type the braces.

<,...n>

Indicates the preceding item can be repeated n number of times. The occurrences are separated by commas.

<...n>

Indicates the preceding item can be repeated n number of times. The occurrences are separated by blanks.

[label] ::=

The name of a block of syntax. This convention is used to group and label sections of lengthy syntax or a unit of syntax that can be used in more than one location. Each location in which the block of syntax can be used is indicated with the label enclosed in square brackets. For example: [field_syntax]

Identifiers for field data types

In IMPORT commands where fields are defined using the FIELD name type syntax, the data type in the type parameter must be specified as a letter. Table 1 lists the letter associated with each data type. The following IMPORT commands define fields using this method:

When you use the Data Definition Wizard to define a table that includes EBCDIC, Unicode, or ASCII fields, the fields are automatically assigned the letter “C” (for the CHARACTER type). When you enter an IMPORT statement manually, or edit an existing IMPORT statement, you can substitute the more specific letters “E” or “U” for EBCDIC or Unicode fields.

Table 1. Data types in IMPORT field definitions

Letter

Data type

A

ACL

B

BINARY

C

CHARACTER

D

DATETIME

E

EBCDIC

F

FLOAT

G

ACCPAC

I

IBMFLOAT

K

UNSIGNED

L

LOGICAL

N

PRINT

P

PACKED

Q

BASIC

R

MICRO

S

CUSTOM

T

PCASCII

U

UNICODE

V

VAXFLOAT

X

NUMERIC

Y

UNISYS

Z

ZONED

Related reference
ACLScript command reference


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