Each work file has certain properties which can be modified using EDT statements and which have an effect on the operation of EDT statements or the way work files are displayed. The table below collates the various work file properties.
Properties | Initial | Value can be changed by |
General | ||
Current character set for the |
| @CODENAME |
Work file occupied (only for | not used | @PROC, @DELETE, @DROP, used in F |
Work file empty | Yes | Read file, screen input, miscellaneous statements |
Work file modified | No | Modify work file, @DELETE |
Save file present | No | @AUTOSAVE and modify work file, |
Line numbers | ||
Current line number |
| @SET (Format 6), @+, @-, implicitly via |
Current increment value |
| @SET (Format 6), @PAR INCREMENT |
Current renumbering value | Off | @PAR RENUMBER |
Lowest assigned line number |
| Implicitly due to file read operation, screen |
Symbolic line number % |
| Implicitly due to file read operation, screen |
Highest assigned line number |
| Implicitly due to file read operation, screen |
Symbolic line number |
| Implicitly due to file read operation, screen |
Symbolic line number |
| @ON |
Memory area @SET (Format | Empty | @SET (Format 6) |
File processing | ||
Link to file name (local @FILE | No link | @FILE, @READ, @GET, @DELETE |
Link to open file | No link | @OPEN, @CLOSE |
Default library name |
| @PAR LIBRARY |
Default element type |
| @PAR ELEMENT-TYPE |
Default character set for a |
| @PAR CODE |
Input | ||
Differentiation between | Off | @PAR LOWER |
Maximum record length for |
| @PAR LIMIT |
Escape character for Unicode |
| @PAR ESCAPE-CHARACTER |
Unicode substitute character | Off | @PAR DATA-REPLACEMENT |
Representation of work file | ||
Full display of records in F | Off | @PAR EDIT-LONG |
Hexadecimal mode | Off | @PAR HEX |
Data window and statement | Off | @PAR EDIT-FULL |
Ruler in data window | Off | @PAR SCALE |
Information line in data | Off | @PAR INFORMATION |
Data window-specific representation | ||
First line displayed in |
| @SETF, |
First column displayed in data |
| @SETF, |
Line number display in data | Off | @PAR INDEX in data window 1 |
First line displayed in |
| @SETF, |
First column displayed in data |
| @SETF, |
Line number display in data | On | @PAR INDEX in data window 2 |
Other | ||
Program name for |
| @PAR SDF-PROGRAM |
Type of program name for |
| @PAR SDF-NAME-TYPE |
Character for data record |
| @PAR SEPARATOR |
Character for structure sheets |
| @PAR STRUCTURE |
Write protection at record | Off | @PAR PROTECTION |
Indicator for hits on last @ON | Off | @ON |
Column for hits on last @ON | 0 | @ON |
The work file properties defined with the @PAR statement can be reset to their initial values using @PAR $0..$22 without the need for any further operands.