Common Parameter: codegen

CASL Syntax

codegen={
casOut={
caslib="string"
compress=TRUE | FALSE
indexVars={"variable-name-1" <, "variable-name-2", ...>}
label="string"
maxMemSize=64-bit-integer
name="table-name"
onDemand=TRUE | FALSE
promote=TRUE | FALSE
replace=TRUE | FALSE
replication=integer
timeStamp="string"
where={"string-1" <, "string-2", ...>}
},
comment=TRUE | FALSE,
fmtWdth=integer,
indentSize=integer,
labelId=integer,
lineSize=integer,
noTrim=TRUE | FALSE,
tabForm=TRUE | FALSE
}

Parameter Descriptions

casOut={casouttable}

specifies the settings for an output table.

caslib="string"

specifies the name of the caslib to use.

compress=TRUE | FALSE

when set to True, data compression is applied to the table.

DefaultFALSE
indexVars={"variable-name-1" <, "variable-name-2", ...>}

specifies the list of variables to create indexes for in the output data

label="string"

specifies the descriptive label to associate with the table.

maxMemSize=64-bit-integer

specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.

TIPYou can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes.
name="table-name"

specifies the name to associate with the table.

onDemand=TRUE | FALSE

This parameter is deprecated.

DefaultTRUE
promote=TRUE | FALSE

when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.

DefaultFALSE
replace=TRUE | FALSE

when set to True, overwrites an existing table with the same name.

DefaultFALSE
replication=integer

specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure.

Default1
Minimum value0
timeStamp="string"

specifies the timestamp to apply to the table. Specify the value in the form that is appropriate for your session locale.

where={"string-1" <, "string-2", ...>}

specifies an expression for subsetting the output data.

comment=TRUE | FALSE

when set to True, adds comments to the DATA step code.

DefaultFALSE
fmtWdth=integer

specifies the width to use for formatting derived numbers such as parameter estimates in the DATA step code.

Default20
Range0–32
indentSize=integer

specifies the number of spaces to indent the DATA step code for each indent level.

Default3
Range0–10
labelId=integer

specifies the label ID to use in array names and statement labels in the DATA step code. By default, a random positive integer is used.

lineSize=integer

specifies the line size for the generated code.

Default120
Range64–254
noTrim=TRUE | FALSE

requests that the comparison of variables with formatted values be based on the full format width, with padding. By default, leading and trailing blanks are removed from the formatted values.

DefaultFALSE
tabForm=TRUE | FALSE

when set to True, generates the code in way that is appropriate for storing in a table.

DefaultFALSE

Lua Syntax

codegen={
casOut={
caslib="string"
compress=true | false
indexVars={"variable-name-1" <, "variable-name-2", ...>}
label="string"
maxMemSize=64-bit-integer
name="table-name"
onDemand=true | false
promote=true | false
replace=true | false
replication=integer
timeStamp="string"
where={"string-1" <, "string-2", ...>}
},
comment=true | false,
fmtWdth=integer,
indentSize=integer,
labelId=integer,
lineSize=integer,
noTrim=true | false,
tabForm=true | false
}

Parameter Descriptions

casOut={casouttable}

specifies the settings for an output table.

caslib="string"

specifies the name of the caslib to use.

compress=true | false

when set to True, data compression is applied to the table.

Defaultfalse
indexVars={"variable-name-1" <, "variable-name-2", ...>}

specifies the list of variables to create indexes for in the output data

label="string"

specifies the descriptive label to associate with the table.

maxMemSize=64-bit-integer

specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.

TIPYou can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes.
name="table-name"

specifies the name to associate with the table.

onDemand=true | false

This parameter is deprecated.

Defaulttrue
promote=true | false

when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.

Defaultfalse
replace=true | false

when set to True, overwrites an existing table with the same name.

Defaultfalse
replication=integer

specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure.

Default1
Minimum value0
timeStamp="string"

specifies the timestamp to apply to the table. Specify the value in the form that is appropriate for your session locale.

where={"string-1" <, "string-2", ...>}

specifies an expression for subsetting the output data.

comment=true | false

when set to True, adds comments to the DATA step code.

Defaultfalse
fmtWdth=integer

specifies the width to use for formatting derived numbers such as parameter estimates in the DATA step code.

Default20
Range0–32
indentSize=integer

specifies the number of spaces to indent the DATA step code for each indent level.

Default3
Range0–10
labelId=integer

specifies the label ID to use in array names and statement labels in the DATA step code. By default, a random positive integer is used.

lineSize=integer

specifies the line size for the generated code.

Default120
Range64–254
noTrim=true | false

requests that the comparison of variables with formatted values be based on the full format width, with padding. By default, leading and trailing blanks are removed from the formatted values.

Defaultfalse
tabForm=true | false

when set to True, generates the code in way that is appropriate for storing in a table.

Defaultfalse

Python Syntax

codegen={
"casOut":{
"caslib":"string"
"compress":True | False
"indexVars":["variable-name-1" <, "variable-name-2", ...>]
"label":"string"
"maxMemSize":64-bit-integer
"name":"table-name"
"onDemand":True | False
"promote":True | False
"replace":True | False
"replication":integer
"timeStamp":"string"
"where":["string-1" <, "string-2", ...>]
},
"comment":True | False,
"fmtWdth":integer,
"indentSize":integer,
"labelId":integer,
"lineSize":integer,
"noTrim":True | False,
"tabForm":True | False
}

Parameter Descriptions

"casOut":{casouttable}

specifies the settings for an output table.

"caslib":"string"

specifies the name of the caslib to use.

"compress":True | False

when set to True, data compression is applied to the table.

DefaultFalse
"indexVars":["variable-name-1" <, "variable-name-2", ...>]

specifies the list of variables to create indexes for in the output data

"label":"string"

specifies the descriptive label to associate with the table.

"maxMemSize":64-bit-integer

specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.

TIPYou can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes.
"name":"table-name"

specifies the name to associate with the table.

"onDemand":True | False

This parameter is deprecated.

DefaultTrue
"promote":True | False

when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.

DefaultFalse
"replace":True | False

when set to True, overwrites an existing table with the same name.

DefaultFalse
"replication":integer

specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure.

Default1
Minimum value0
"timeStamp":"string"

specifies the timestamp to apply to the table. Specify the value in the form that is appropriate for your session locale.

"where":["string-1" <, "string-2", ...>]

specifies an expression for subsetting the output data.

"comment":True | False

when set to True, adds comments to the DATA step code.

DefaultFalse
"fmtWdth":integer

specifies the width to use for formatting derived numbers such as parameter estimates in the DATA step code.

Default20
Range0–32
"indentSize":integer

specifies the number of spaces to indent the DATA step code for each indent level.

Default3
Range0–10
"labelId":integer

specifies the label ID to use in array names and statement labels in the DATA step code. By default, a random positive integer is used.

"lineSize":integer

specifies the line size for the generated code.

Default120
Range64–254
"noTrim":True | False

requests that the comparison of variables with formatted values be based on the full format width, with padding. By default, leading and trailing blanks are removed from the formatted values.

DefaultFalse
"tabForm":True | False

when set to True, generates the code in way that is appropriate for storing in a table.

DefaultFalse

R Syntax

codegen=list(
casOut=list(
caslib="string"
compress=TRUE | FALSE
indexVars=list("variable-name-1" <, "variable-name-2", ...>)
label="string"
maxMemSize=64-bit-integer
name="table-name"
onDemand=TRUE | FALSE
promote=TRUE | FALSE
replace=TRUE | FALSE
replication=integer
timeStamp="string"
where=list("string-1" <, "string-2", ...>)
),
comment=TRUE | FALSE,
fmtWdth=integer,
indentSize=integer,
labelId=integer,
lineSize=integer,
noTrim=TRUE | FALSE,
tabForm=TRUE | FALSE
)

Parameter Descriptions

casOut=list(casouttable)

specifies the settings for an output table.

caslib="string"

specifies the name of the caslib to use.

compress=TRUE | FALSE

when set to True, data compression is applied to the table.

DefaultFALSE
indexVars=list("variable-name-1" <, "variable-name-2", ...>)

specifies the list of variables to create indexes for in the output data

label="string"

specifies the descriptive label to associate with the table.

maxMemSize=64-bit-integer

specifies the maximum amount of memory, in bytes, that each thread should allocate for in-memory blocks before converting to a memory-mapped file. Files are written in the directories that are specified in the CAS_DISK_CACHE environment variable.

TIPYou can enclose the value in quotation marks and specify B, K, M, G, or T as a suffix to indicate the units. For example, "8M" specifies eight megabytes.
name="table-name"

specifies the name to associate with the table.

onDemand=TRUE | FALSE

This parameter is deprecated.

DefaultTRUE
promote=TRUE | FALSE

when set to True, adds the output table with a global scope. This enables other sessions to access the table, subject to access controls. The target caslib must also have a global scope.

DefaultFALSE
replace=TRUE | FALSE

when set to True, overwrites an existing table with the same name.

DefaultFALSE
replication=integer

specifies the number of copies of the table to make for fault tolerance. Larger values result in slower performance and use more memory, but provide high availability for data in the event of a node failure.

Default1
Minimum value0
timeStamp="string"

specifies the timestamp to apply to the table. Specify the value in the form that is appropriate for your session locale.

where=list("string-1" <, "string-2", ...>)

specifies an expression for subsetting the output data.

comment=TRUE | FALSE

when set to True, adds comments to the DATA step code.

DefaultFALSE
fmtWdth=integer

specifies the width to use for formatting derived numbers such as parameter estimates in the DATA step code.

Default20
Range0–32
indentSize=integer

specifies the number of spaces to indent the DATA step code for each indent level.

Default3
Range0–10
labelId=integer

specifies the label ID to use in array names and statement labels in the DATA step code. By default, a random positive integer is used.

lineSize=integer

specifies the line size for the generated code.

Default120
Range64–254
noTrim=TRUE | FALSE

requests that the comparison of variables with formatted values be based on the full format width, with padding. By default, leading and trailing blanks are removed from the formatted values.

DefaultFALSE
tabForm=TRUE | FALSE

when set to True, generates the code in way that is appropriate for storing in a table.

DefaultFALSE
Last updated: June 07, 2018