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

<FLOOP_ADDRESSING>

 

Inserts the addressing size of the current data file.

 

Possible values:  32, 40

<FLOOP_CHANGE_TRACKING>

 

Inserts a string indicating whether the structures first assigned 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>

<FLOOP_COMPRESSION>

 

Inserts a string indicating whether the current file has data compression enabled.

 

Possible values:  YES, NO

Alternates:  <floop_compression>

<FLOOP_DESC>

 

Inserts the description of the current file.

<FLOOP_DENSITY>

 

Inserts the default key density of the current file.

 

Possible values:  50, 100

<FLOOP_NAME>

 

Inserts the file name of the current file definition.

<FLOOP_NAME_NOEXT>

 

Inserts the file name of the current file definition, with the file extension removed. This token can be useful when constructing file specifications where the file extension is based on a variable company code or other data.

 

<FLOOP_ODBC_NAME>

 

Inserts the ODBC table name of the file definition that is currently being processed. 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>

<FLOOP_PAGESIZE>

 

Inserts the page size of the current 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

<FLOOP_RECTYPE>

 

Inserts a string indicating the record type of the current file.

 

Possible values:  FIXED, VARIABLE, MULTIPLE

Alternates:  <floop_rectype>

<FLOOP_RPS_NAME>

 

Inserts the name of the repository file definition that is currently being processed.

 

Example output:  CUSTOMER

Alternates:  <floop_rps_name>, <Floop_Rps_Name>, <Floop_rps_name>, <FloopRpsName>, <floopRpsName>

<FLOOP_STATIC_RFA>

 

Inserts a string indicating whether the current file has static RFA’s enabled.

Possible values:  YES, NO

Alternates:  <floop_static_rfa>

<FLOOP_STORED_GRFA>

 

Inserts a string indicating whether the structures first assigned 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>

<FLOOP_TYPE>

 

Inserts a string indicating the file type of the current file.

 

Possible values:  ASCII, DBL ISAM, RELATIVE, USER DEFINED

<FLOOP_UTEXT>

 

Inserts the user text string of the current file.

 

 


Copyright © 2021  Synergex International, Inc.