0

Im new to Cobol.

A column of Date need to identify the latest date to be display.

8/9/2004

2/7/2016

24/04/1995

27/09/2016

And it able to identify 27/09/2016 as the latest date

4

1 回答 1

0

I found my Answer at last.

  • Compare date: if Billdate (latest date), move to report date

       IF WSAA-BillDate > WSAA-ReportDate
           MOVE WSAA-BillDate to WSAA-ReportDate
       END-IF
    
于 2016-11-09T09:48:32.000 回答