ADELIA |
VADELIA |
SADELIA |
WADELIA |
MADELIA |
(I/B) |
(I/B) (C/S) |
(B) (S) |
(I/B) (C/S) |
(I) (C/S) |
Use
Smallest value (depending on the type and length of the variable):
If the variable is an alphanumeric variable:
- in RPG generation, it takes the smallest possible alphanumeric value: each character takes the value 00;
- with the C and Java generator, *LOVAL has the same effect as *BLANK.
- If the variable is an extended or packed numeric one, it takes the lowest possible numeric value: each character takes the value 9 and the variable carries the negative sign.
If the variable is of the type NUM_BIN_2 or Integer 5.0, it takes the value -32768 (-215):
If the variable is of the type NUM_BIN_4 or Integer 10.0, it takes the value -2147483648 (-231).If the variable is of the type NUM_BIN_8, it takes the value 9223372036854775808 (-263).
If the variable is of the TIME type, it takes the value 00:00:00.
If the variable is of the DATE type, it takes the value 00001-01-01.
If the variable is of the TIMESTAMP type, it takes the value
0001-01-01-00:00:00:000000.
Not modifiable by the programmer.
Example
|
VAR = *LOVAL |
or |
IF W_VAR = *LOVAL |