Working with Dates

10 Jul

COBOL allows you to accept a number of data items from the operating system, including current date. ACCEPT WS-YYMMDD FROM DATE. This statement will return a six-digit date in the format of YYMMDD. The variable  WS-YYMMDD must be defined in … Read More »