ADELIA |
|
|
|
|
(I) |
|
|
|
|
Section for use
INITIALIZATION, VERIFICATION, VALIDATION, TRANSACTION, SFTKYS_PROCESS, or any other section, specifying the transaction number.
Syntax
NON_DISPLAY Option VarId1 SeriesVarId Transaction
Option |
→ |
*ON | *OFF | None |
|
|
|
SeriesVarId |
→ |
SeriesVarId VarId | None |
|
|
|
Transaction |
→ |
TransactionNum | None |
Description
This instruction is used whenever a screen field display VarId1 is to be conditioned. The DDS screen attribute DSPATR(ND) is generated for all the fields SeriesVarId following this instruction. The attribute is preceded by a screen file indicator, which is then activated by the program once the instruction is reached.
It is only possible to mention a transaction number TransactionNum if this instruction is used with *ON or *OFF.
Whenever this instruction is used without *ON or *OFF, it is deactivated (indicator reset to 0) after each screen reading, and by the END_MANAGE_SFL and END_ADD_SFL instructions when placed within a MANAGE_SFL/END_MANAGE_SFL or ADD_SFL/END_ADD_SFL block.
Whenever the instruction is used with *ON, it remains activated for the same variables until used with *OFF.
Important notes:
- A variable used with a group of variables must always be used with this same group.
- For a specific variable, the instruction cannot be used once with *ON or *OFF and another time without *ON or *OFF.
Example
IF SECURITY_LVL < 9
NON_DISPLAY *ON Z_EMPL_ADDRESS Z_EMPL_PHONE
END
*
IF SECURITY_LVL < 6
NON_DISPLAY *ON Z_EMPL_BANK Z_EMPL_ACCOUNT
END
*
IF SECURITY_LVL < 3
NON_DISPLAY *ON Z_EMPL_SALARY
END
See also the list of 4GL instructions by topic