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 you define a variable of comp-1 and comp-2?
how to refer the data field?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
explain sorting techniques in cobol program?
How you can read the file from bottom?
Write down the divisions of cobol program?
) How do u handle errors in BMS macro
how to convert the recors form vsam file to db2 table tru file aid
What are the rules of the move verb?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Difference between cobol and cobol-ii?
What is report-item in COBOL?
what is search and searchall?what is the diffrence between them?give an best example?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
In which area will you utilize 88 level items in cobol?