Explained Date, Fractions, and Dynamic strings for your reference.
COBOL Date, Fraction and Strings
Date
Two Data types you can see in COBOL. Those are Text and Numeric. Modern applications need different data types. For example, you can say it as Date.
03 DATE1 PIC 9(6)
Date.
It is numeric. But real Date needs ‘/’. So we need to write extra code to handle the Date.
Fractions
Fractions.
For example ’52/3′ COBOL does not understand directly this fraction. So we need to write a separate program, using unstring to convert it into fractions.
Dynamic String
Dynamic String.
In modern applications we get variable strings. For this there is no data type. So we need to write extra code to handle this.