how can we get current dat and time thru cobol pgm
Answer Posted / gummadi srinivas
USING REFERENCE MODIFICATION WE GET DATE
1) current date
move function current-date (1:8) to ws-today
here ws-today is w.s.s variable
2) current time
move function current-date (9:6) to ws-time
here ws-time is the w.s.s variable
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is amode(24), amode(31), rmode(24) and rmode(any)?
Differentiate between structured cobol programming and object-oriented cobol programming.
What are the pertinent COBOL
how do you reference the esds vsam file formats from cobol programs
) how do u code after getting data?
What is the difference between Global and External Variables?
What is the difference between comp and comp-3 usage?
What are literals?
how do you reference the fixed unblock file formats from cobol programs
Can we change the password using ALTER? anyone tried and changed?
What is the difference between perform … with test after and perform … with test before?
What are 77 levels used for?
In COBOL, what is the different between index and subscript?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is amode(31)