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
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is comp-1 and comp-2?
Which division and paragraphs are mandatory for a COBOL program?
) how do u code after getting data?
What is the compute verb? How is it used?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
HOw can I get the negative sign while deduct high value from low value
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Difference between cobol and cobol-ii?
What is link edit in cobol?
What are the pertinent COBOL
How you can read the file from bottom?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Why did you choose to work with ibm mainframe cobol programming?