File Loop Expansion Tokens
File loop expansion tokens are used to insert information about the current file being processed within the context of a file loop into the output stream. File loop tokens can only be used inside a file loop.
|
File Loop Token |
Description |
|
|
Inserts the addressing size of the file.
Possible values: 32, 40 |
|
|
Inserts a string indicating whether the file has change tracking enabled.
CodeGen will display an error if it encounters this token and the structure being processed has not been assigned to a repository file definition. NOTE: Supported in Synergy/DE V10.1 and higher. Possible values: YES, NO Alternates: <floop_change_tracking> |
|
|
Inserts a string indicating whether the file has data compression enabled.
Possible values: YES, NO Alternates: <floop_compression> |
|
|
Inserts the description of the file. |
|
|
Inserts the default key density of the file.
Possible values: 50, 100 |
|
|
Inserts the name of the associated data file. |
|
|
Inserts the base name of the associated data file. This token can be useful when constructing file specifications where the file extension is based on a variable company code or other data.
|
|
|
Inserts the ODBC table name of the file. If no ODBC table name is specified then the name of the first assigned structure is used.
Example output: CUSTOMER Alternates: <floop_odbc_name>, <Floop_Odbc_Name>, <Floop_odbc_name>, <FloopOdbcName>, <floopOdbcName> |
|
|
Inserts the page size of the file. Possible values: 512, 1024, 2048, 4096, 8192, 16384, 32768 NOTE: Page sizes 16384 and 32768 were introduced with ISAM Rev 6 in Synergy/DE 10.1 |
|
|
Inserts a string indicating the record type of the file.
Possible values: FIXED, VARIABLE, MULTIPLE Alternates: <floop_rectype> |
|
|
Inserts the name of the repository file definition.
Example output: CUSTOMER Alternates: <floop_rps_name>, <Floop_Rps_Name>, <Floop_rps_name>, <FloopRpsName>, <floopRpsName> |
|
|
Inserts a string indicating whether the file has static RFA’s enabled. Possible values: YES, NO Alternates: <floop_static_rfa> |
|
|
Inserts a string indicating whether the file has stored GRFA’s enabled.
CodeGen will display an error if it encounters this token and the structure being processed has not been assigned to a repository file definition. NOTE: Supported with Synergy/DE V10.1 and higher. Possible values: YES, NO Alternates: <floop_stored_grfa> |
|
|
Inserts the number of structures assigned to the file. |
|
|
Inserts a string indicating the file type of the file.
Possible values: ASCII, DBL ISAM, RELATIVE, USER DEFINED |
|
|
Inserts the user text string of the file. |
Copyright © 2021 Synergex International, Inc.