Cobol-Data Challenges(2 of 2)

Date: In general Cobol has two data types. It supports numeric and text. But modern applications has various data types.

Typically speaking, Date. This is not a number. This is date.

03 DATE1      PIC 9(6)

This is numeric. But real date needs ‘/’. So we need to write extra code to handle date.

Fractions: For example ’52/3′ Cobol does not understand directly this fraction.

So we need to write separate program, using unstring to convert it into fractions.

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.


Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.