ADELIA |
|
|
|
|
(I) |
|
|
|
|
Section for use
INITIALIZATION, VERIFICATION, VALIDATION, TRANSACTION, SFTKYS_PROCESS, or any other section, specifying the transaction number.
Syntax
MAKE_BLINK Option SeriesVarId Transaction
Option |
→ |
*ON | *OFF | None |
|
|
|
SeriesVarId |
→ |
SeriesVarId VarId | VarId |
|
|
|
Transaction |
→ |
TransactionNum | None |
Description
This instruction is used whenever a screen field display is to be conditioned. The DDS screen attribute DSPATR(BL) is generated for all the fields SeriesVarId indicated after the instruction. An indicator in the screen file precedes the attribute; this indicator is then activated by the program when the instruction is reached.
Whenever the 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 found in a MANAGE_SFL/END_MANAGE_SFL or ADD_SFL/END_ADD_SFL block.
It is only possible to mention a transaction number TransactionNum if this instruction is used with *ON or *OFF.
Whenever the instruction is used with *ON, it will remain activated until executed with *OFF, for the same group of variables.
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 CUSTOMER_VIEW EXISTS
MAKE_BLINK *ON ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD
END
*
BEGIN_PROCEDURE ENTRYF
*
* this procedure deals with transaction # 3
IF ACTION_CODE = 'DELETE'
MAKE_BLINK *OFF ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03
PROTECT *ON ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03
ELSE
MAKE_BLINK *ON ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03
PROTECT *OFF ZORDER_NBR ZORDER_DATE ZORDER_CUST_COD 03
END
END_PROCEDURE