A variable can be declared as date data type using 'D' in internal data type.
C ....*USA....... MOVE.......Datetemp.....Dat
C .... Dat ...... DSPLY....
Dat declared as 8 D ( date data type with 8 length ) to compact with *USA format
OUTPUT:
======
Character (A)
Graphic (G)
Numeric - Integer format (I)
Numeric – Packed decimal format (P)
Numeric - Zoned format (S)
Numeric - Unsigned format (U)
Float (F)
Date (D)
Time (T)
Timestamp (Z)
No comments:
Post a Comment