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
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is redefines clause in COBOL?
Which division and paragraphs are mandatory for a COBOL program?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
i need a small 3d program using inline and outline.
how to move the records from file to array table. give with code example
I have a File that has duplicate records. I need only those records that occur more than thrice.?
State the various causes of s0c1, s0c5 and s0c7.
how to access the file from prodution from changeman tool and to submit a file to production
How do you reference the fixed block file formats from cobol programs
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is a scope terminator give example?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How are the next sentence and continue different from each other?