VALID

VALID returns a BIT(1) value that is '1'B with certain conditions.

Read syntax diagramSkip visual syntax diagramVALID( x)
x
Reference with either picture or fixed decimal type.
Conditions including:
  • If x is PICTURE or WIDEPIC and its contents are valid for x's picture specification.
  • If x is FIXED DECIMAL and the data in x is valid fixed decimal data.

If these conditions are not met, the result is '0'B.