Allows the states of various system elements to be changed. An alternative to the ASSIGN statement for setting a system element.
SYSTEM(element) = value
element is the number corresponding to the system element to be changed.
Only the following system elements can be changed:
| 2 | Current page width (numeric). |
| 3 | Current page length (numeric). |
| 5 | Current page number (numeric). |
| 7 | Terminal type (numeric). |
| 30 | Pagination in effect (numeric). |
| 35 | Language in use (numeric). |
| 37 | Thousands separator in use (string). |
| 38 | Decimal separator in use: comma or period (string). |
| 39 | Money sign in use (string). |
SYSTEM(5) = 12
Assigns the value 12 to system element 5, the current page number.