Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Set_Env routine ====== ==== Description ==== Defines the value of an environment attribute or list of attributes for the current database. ==== Syntax ==== **Set_Env**(//attributelist//, //valuelist//, //transactflag//) ==== Parameters ==== The Set_Env routine has the following parameters. ^Parameter^Description^ |//attributelist//|One or more attribute identifiers from the list of attributes in the table following the description of this command.| |//valuelist//|Specifies a value for each attribute identifier defined in //attributelist//.| |//transactflag//|If true (1), all values in //valuelist// must be valid or no attributes are set. If //transactflag// is false (0) or null, valid attributes are set and invalid attributes are ignored.| A column is returned for each attribute in //attributelist//. If a valid value is provided, the column is true (1). If an invalid value is provided, the column is false (0). ==== See Also ==== [[get_env|Get_Env]], [[environ_constants_insert_record|ENVIRON_CONSTANTS insert record]] ==== Remarks ==== For examples of finding the current environment settings, see [[get_env|Get_Env]]. ==== Examples ==== Example (disabling the debugger) <code> /* in this example, the debug statement does not go to the debugger because the debugger is disabled */ $insert environ_constants declare subroutine set_env on_off = 0 t_flag = 1 set_env(ENV_DEBUGGER_ENABLED$, on_off, t_flag) debug </code> guides/programming/programmers_reference_manual/set_env.txt Last modified: 2024/06/19 20:20by 127.0.0.1