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
What are literals?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how do you define single dimensional array and multidimensional array in your cobol?
What are the pertinent COBOL
State the various causes of s0c1, s0c5 and s0c7.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is inspect in cobol ?
Why would you use find and get rather than to obtain?
What is the use of intialize verb?
how to move the records from file to array table. give with code example
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How do get the result of your program directly on your pc?
Difference between array and sub-script ?
how do you reference the ksds vsam file formats from cobol programs
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech