Summary of Obsolete Key Words
The following is a list of key words which are obsolete or for which there are new, more elegant, or more readable alternatives. For this reason, you should no longer use the key words listed below:
- SUMMARY, DETAIL
Use the statements FORMAT INTENSIFIED ON/OFF
(FORMAT) instead or the additions
INTENSIFIED ON/OFF of the WRITE statement.
- MAXIMUM, MINIMUM,
SUMMING
In order to improve program readability, these statements should no longer be used. Existing instances of their use should be reprogrammed.
- INPUT
Use FORMAT
INPUT (FORMAT)
instead or the addition ... INPUT of the WRITE statement.
- MARK
The line selection techniques available
for list processing (such as the mouse double-click) render this statement redundant. (AT LINE-SELECTION).
-
NEW-SECTION
Use NEW-PAGE
PRINT ON (NEW-PAGE)
instead. The page count can be reset to 1 using NEW-PAGE PRINT ON with the addition NEW-SECTION.
- READ TABLE dbtab, LOOP
AT dbtab, REFRESH itab FROM TABLE dbtab
These statements can be replaced with variants of the more powerful SELECT statement.
- REFRESH itab FROM SELECT-OPTIONS
This statement
is no longer available. Use the function module RS_REFRESH_FROM_SELECTOPTIONS instead.
- READ TABLE itab (without explicit key entries)
- READ TABLE itab WITH KEY k
-
READ TABLE itab WITH KEY = v
Use the READ
variant with an explicit key declaration in the form "k1 = v1 ... kn = vn" instead.
- COLLECT SORTED BY f
This statement is no
longer available. Use the APPEND SORTED BY f statement.