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 |
When is a scope terminator mandatory?
Write a cobol program making use of the redefine clause.
What is amode(24)?
Should I use STOP RUN in the sub program??why?
What are ISOLATION LEVELS? Where do we need to specify them?
How can you get the ksds file records into your cobol program?
How we copy a program from production region to development region.What is the process & syntax ?
How many variables can be declared in w-s section.?
How To move a value to an array using move verb?
What are various search techniques in cobol? Explain.
hai friends ,i have HSBc exam on this sunday,my platform is Mainframe,i have 1 year exp,pls any one send me placement papers of Hsbc and technical questions on mainframe
6 Answers Citi Bank, CitiGroup, HSBC, iNautix, Wipro,
Name the sections present in data division.