How include time & date in the report generation in cobol
programing?
Answer Posted / 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 |
Post New Answer View All Answers
How do define dynamic array in cobol.
Which mode is used to operate the sequential file?
Explain how to differentiate call by context by comparing it to other calls?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is redefines clause in COBOL?
In which area will you utilize 88 level items in cobol?
What is inspect in cobol ?
what is the use of outrecord?
What do you understand by psb and acb?
Mention the guidelines to write a structured cobol program?
Can we change the password using ALTER? anyone tried and changed?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
what is difference between cobol and cobol/400
What are the rules of the move verb?