Syntax @GlobalVariable([fme_attribute_name, ] [[,fme_attribute_name],]) @GlobalVariable([fme_encoded,][[,fme_result_attribute],]) @GlobalVariable(fme_get_mapping_file_keyword_) @GlobalVariable(fme_get_mapping_file_flag_keyword_) @GlobalVariable(fme_get_mapping_file_upper_keyword_) @GlobalVariable(fme_get_mapping_file_lower_keyword_) Arguments The name of the global variable. Range: String The value assigned to the variable. Range: Any Value fme_attribute_name Indicates that the next argument is the name of an attribute that holds the desired information. Range: N/A fme_get_mapping_file_keyword_ Returns the value of . Range: N/A fme_get_mapping_file_flag_keyword_ Returns "yes" or "no" (all lowercase) depending on the return value of STFConfig::fetchFlag(). Range: N/A fme_get_mapping_file_upper_keyword_ Returns the value of , converted to uppercase. Range: N/A fme_get_mapping_file_lower_keyword_ Returns the value of , converted to lowercase. Range: N/A Configuration The @GlobalVariable function accepts two types of configuration lines: GlobalVariable This configuration indicates that the inital value of the specified global variable be set to the given value. This will occur before the translation begins. GlobalVariable MAX_TO_LOG This configuration configures the way the final state of all global variables is reported in the log messages. The global variables will be listed with their final values at the end of a translation. If this configuration line is not present, a maximum of 50 global variables will be logged by default. Description The @GlobalVariable function is used to set and read global variables. Global variables are those that persist across all features during an FME translation run. If this function is passed a single parameter, then the parameter is assumed to be a global variable name and the function will simply return the value of this variable. If the function is passed two parameters, then it will set the global variable with the first parameter's name to have the value of the second parameter. A summary of the final values of all global variables used in the mapping file is output to the log file at the end of the translation. If fme_attribute_name precedes either the variable or the value, the variable/value is instead treated as the name of an attribute that holds the information to use. TO BE RESOLVED fme_get_mapping_file_ "backdoor" call arguments added to Syntax section above, but not documented.