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
Write a program that uses move corresponding.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is the difference between comp and comp-3?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the difference between Call and a Link?
Mention the guidelines to write a structured cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between next sentence and continue in cobol programing language?
Differentiate between structured cobol programming and object-oriented cobol programming.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Write the code implementing the perform … varying.
What rules are to be followed while using the corresponding options?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to remove 2 duplicate records and copy only one using job control language?