The @STATUS statement can be used to output the EDT and system environment settings together with the values of line number and integer variables.
Operation | Operands | F mode, L mode |
@STATUS | [={ ALL { |
ALL | All the information concerning the parameters |
TIME | This outputs the current time, the duration so far of the current EDT session, |
BUFFER | This outputs the current size of the physical input/output buffer for the |
SIZE | This operand is now only supported for reasons of compatibility. The value |
SYMBOLS | The following are output: the current statement symbol (see @: statement), |
DELIM | Outputs the set of declared text delimiter characters (see @DELIMIT |
VDT | Outputs the number of screen lines and columns (see @VDT statement) In the case of 9763 terminals, the current screen format is also output (see |
MODES | Outputs the default settings that may be defined using the @BLOCK, The settings for syntax control in L mode, the execution mode (see |
FILE | Outputs the global file name declared using the last @FILE statement. If a In addition (and if present), a local @FILE entry which has been defined If the output from the |
PAR (procnr | *) | |
A local @FILE entry (if present) together with the name of an open file or If no work file is specified then a list containing the above-mentioned | |
LINEV INTV lvar ivar SDF | Displays the contents of all the line number variables ( Displays the contents of all the integer variables ( The content of the named line number variable is output. The content of the named integer variable is output. The current SDF settings are displayed. In addition, for each work file, the |
CCS | The currently defined character set is output for the communications |
LOG | The values defined for logging are output (see @LOG statement). |
SEARCH-OPTION | |
Outputs the default settings for the search functions (@ON statement) that | |
line | Line number as of which information is to be written to the current work file. If a line with a number greater than the previous highest line number is If |
inc | Increment used to form the line numbers which follow If no operand is specified then the value |
The output sequence when multiple operands are specified is predefined by EDT and not in any way dependent on the order in which the operands are entered. If the same operand is specified more than once then this does not cause the information concerning it to be output again.
Output to SYSOUT
or SYSLST
is sent in the character set that has been defined for these system files. If the output is written to a work file then it is sent in the work file's character set. If the work file has the character set *NONE
then the character set EDF041
is used. All characters which might be mapped to an invalid character when converted into the applicable output character set (for example, the values for @PAR SEPARATOR or @PAR STRUCTURE) are output both as characters (or possibly as blanks) and in the hexadecimal form U'xxxx'
, in which case the character coding is displayed in UTF16
.
If @SYNTAX TEST=ON has first been used to activate the test mode for L mode input and if @STATUS is entered in L mode then any specification of TO line(inc)
is ignored, i.e. the output is written to SYSOUT
instead.