how can we get current dat and time thru cobol pgm
Answer Posted / vinodquestion
HI friend,
Move function CURRENT-DATE to dt.
Here dt is a working storage variable.
If you want exactly date and time do this
Instead of CURRENT-DATE in above statement write this.
CURRENT-DATE(1:16)
That is using referential modification.
Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Write the code to count the sum of n natural numbers.
What are the various section in data division and briefly explain them.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are various search techniques in cobol? Explain.
) how do u code after getting data?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is the difference between perform … with test after and perform … with test before?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Write a program to explain size error.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
how do you reference the ksds vsam file formats from cobol programs
Have you used comp and comp-3 in your project? And how?
What is the usage of comp fields in cobol?
What is the difference between next sentence and continue in cobol programing language?