# SET > [HTML Version](set_lit.htm) **SET \{function\}** The SET command controls and displays a variety of A-Shell's behaviors; see the following list. Entering SET with no specifications will display current settings, and SET/? will display the functions shown in the table below. SET TERM, SET TRACE and SET LANG all return the current settings for the indicated function. | **Function** | **Displays** | |------|------| | \{NO\} ABSLOOKUP | Always return absolute value in LOOKUP. | | \{NO\} HASH | Turn on and off AMOS compatible hash codes, and applies only to text files under A-Shell/Unix. The default is off. When on, the A-Shell hash routine will pretend as if there were a CR to go along with any LF line terminators when generating a hash code (since Unix text files normally only have LF line terminators whereas AMOS, Windows, and DOS use CRLF). | | \{NO\} AMOSRUNSBR | Execute Xcall ASHELL within current process. | | \{NO\} AUTOTPRINT | Turn on/off AUTOTPRINT. | | \{NO\} [CMDINP](cmdinp.htm.md) | CMD file input. | | \{NO\} CTRLC | Ctrl+C | | \{NO\}[DEBUG](debugsettings.htm.md)\{#\} | Cause RUN programs compiled with /X:2 but not /DEBUG, to interpret the DEBUG variable as 1 (or # if specified.) See [DEBUG](debugsettings.htm.md) for more details. | | \{NO\} ECHO | Character echo. | | \{NO\} EXTFIO | Extended file I/O. | | \{NO\} FIELDEMU | Field Emulation. | | \{NO\} FPROUND | Floating point expression rounding. | | HEX | Set Hex output. | | [INFDEF](infdef_set.htm.md) | Change or display INFLD codes. | | LANG | Set/display language: SET LANGUAGE \{lang\}. If _lang_ is not specified, it displays the name of the current language. Otherwise if tries to load the specified language file, interpreting _lang_ as the LDF file name in the same way that MX\_LANGUAGE does. Thus, while SET LANGUAGE may return "SPANISH", to set the language to Spanish you may need to use SET LANGUAGE SPANSH, assuming the LDF file name is dsk0:spansh.ldf\[1,6\]. | | \{NO\} LATIN1 | LATIN1 eight-bit mode. | | \{NO\} LOKSER | Turn [LOKSER](lokser_sp.htm.md) on/off. | | LOGDIR | Changes the ashlog.log directory. SET LOGDIR dirspec | | LONGDIR | Forces DIR to act as if the /L\{ONG\} switch had been set. | | OCTAL | Set Octal output (e.g. in DUMP). | | PROMPT | Set command prompt to . | | \{NO\} STRICT | Strict AMOS compatibility mode. | | [TERM](terminal_options.htm.md) | Terminal options. | | [TITLE Definition String](titledefinitionstring.htm.md) | Set top status line or window title. | | [TRACE](trace_options.htm.md) | Trace options. | | [WEBCACHE](webcache_in_set_lit.htm.md) | Set various options for A-Shell WEBCACHE system. | **History** 2022 May, A-Shell 6.5.1716, SET.LIT 1.2(166): now supports the SQL TRACE, and the TRACE options are now displayed alphabetically. 2017 July, A-Shell 6.5.1610, SET.LIT 1.2(161): now makes the scroll bar visible if the environment supports it (A-Shell/Windows and ATE version 6.5.1610 or later) and the output of the command causes the screen to scroll. 2017 February, A-Shell 6.3.1543, SET.LIT 1.2(161): adds LANG 2016 October, A-Shell 6.3.1531, SET.LIT 1.2(158): adds WEBCACHE 2016 September, A-Shell 6.3.1526, SET.LIT 1.2(156): updated to support TRACE flags JOBLCK and EXEC, which were added in 6.3.1518.0.