Display Formats for Boolean Data
When defining the layout of fields with data type Boolean, you can specify the value to be displayed.
DIS(
TrueValue/
FalseValue)
Shorthand Code | Field Value | Displayed |
---|---|---|
DIS(Y/N) |
true
|
Y
|
false
|
N
|
|
DIS(Yes/No)
|
1
|
Yes
|
0
|
No
|
|
DIS(Ja/Nee)
|
t
|
Ja
|
f
|
Nee
|
|
DIS(Oui/Non)
|
true
|
Oui
|
false
|
Non
|
If no display format for Boolean fields is specified, the value displayed is based on the packing code used for the field.
Packing Code | Field Value | Displayed |
---|---|---|
B1 | true | 1
|
false | 0
|
|
B2 | true | T
|
false | F
|
|
B3 | true | Y
|
false | N
|
|
B4 | true | 1
|
false | 0
|
|
None | true | T
|
false | F
|