Common Parameter: casvardesc

CASL Syntax

casvardesc={
format="string",
formattedLength=integer,
label="string",
length=integer,
name="string",
nfd=integer,
nfl=integer,
type="BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"
}

Parameter Descriptions

format="string"

specifies the format to apply to the variable.

formattedLength=integer

specifies the length of the format field plus the length of the format precision.

label="string"

specifies the descriptive label for the variable.

length=integer

specifies the unformatted length of the variable. This parameter applies to fixed-length character variables (type="CHAR") only.

Default 8
Minimum value 1
name="string"

specifies the name for the variable.

nfd=integer

specifies the length of the format precision.

nfl=integer

specifies the length of the format field.

type="BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"

specifies the data type for the variable.

Default DOUBLE

Lua Syntax

casvardesc={
format="string",
formattedLength=integer,
label="string",
length=integer,
name="string",
nfd=integer,
nfl=integer,
type="BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"
}

Parameter Descriptions

format="string"

specifies the format to apply to the variable.

formattedLength=integer

specifies the length of the format field plus the length of the format precision.

label="string"

specifies the descriptive label for the variable.

length=integer

specifies the unformatted length of the variable. This parameter applies to fixed-length character variables (type="CHAR") only.

Default 8
Minimum value 1
name="string"

specifies the name for the variable.

nfd=integer

specifies the length of the format precision.

nfl=integer

specifies the length of the format field.

type="BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"

specifies the data type for the variable.

Default DOUBLE

Python Syntax

casvardesc={
"format":"string",
"formattedLength":integer,
"label":"string",
"length":integer,
"name":"string",
"nfd":integer,
"nfl":integer,
"type":"BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"
}

Parameter Descriptions

"format":"string"

specifies the format to apply to the variable.

"formattedLength":integer

specifies the length of the format field plus the length of the format precision.

"label":"string"

specifies the descriptive label for the variable.

"length":integer

specifies the unformatted length of the variable. This parameter applies to fixed-length character variables (type="CHAR") only.

Default 8
Minimum value 1
"name":"string"

specifies the name for the variable.

"nfd":integer

specifies the length of the format precision.

"nfl":integer

specifies the length of the format field.

"type":"BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"

specifies the data type for the variable.

Default DOUBLE

R Syntax

casvardesc=list(
format="string",
formattedLength=integer,
label="string",
length=integer,
name="string",
nfd=integer,
nfl=integer,
type="BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"
)

Parameter Descriptions

format="string"

specifies the format to apply to the variable.

formattedLength=integer

specifies the length of the format field plus the length of the format precision.

label="string"

specifies the descriptive label for the variable.

length=integer

specifies the unformatted length of the variable. This parameter applies to fixed-length character variables (type="CHAR") only.

Default 8
Minimum value 1
name="string"

specifies the name for the variable.

nfd=integer

specifies the length of the format precision.

nfl=integer

specifies the length of the format field.

type="BINARY" | "CHAR" | "DATE" | "DATETIME" | "DECQUAD" | "DECSEXT" | "DOUBLE" | "INT32" | "INT64" | "TIME" | "VARBINARY" | "VARCHAR"

specifies the data type for the variable.

Default DOUBLE
Last updated: November 23, 2025