How include time & date in the report generation in cobol
programing?
Answers were Sorted based on User's Feedback
Answer / guest
we have a cobol reserved wordS called CURRENT DATE AND TIME
Syntax: Accept ws-date from CURRENT DATE
| Is This Answer Correct ? | 20 Yes | 3 No |
Answer / varun v
Use the below command
MOVE FUNCTION CURRENT-DATE(1:16)
TO WS-DATE-WORK-AREA
Here WS-DATE-WORK-AREA should have the
format "CCYYMMDDhhmmssms"
CCYY - YEARS
MM - MONTHS
DD - DAYS
hh - HOURS
mm - MINUTES
ss - SECONDS
ms - MILLISECONDS
| Is This Answer Correct ? | 11 Yes | 3 No |
Have you code any new programs in COBOL ? What is the functionality of the programs?
Is It Possible to Update or change in VIEW Mode?
what is meant by binary search?
I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.
where did you see the information regarding abend codes in jcl?
how will you define vsam file in select clause?
how will u pass dadta to cobol+db2 program...?
what are the control characters used in reports
What is the default value of DISP for temp datasets
can we display comp-3 variables. if we want to display what we have to do . give me one example
What is the difference between a binary search and a sequential search?
What is the difference between a binary search and a sequential search?