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 do you understand by psb and acb?
How you can read the file from bottom?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How can you get the ksds file records into your cobol program?
What is the difference between external and global variables in COBOL?
) what is the difference between AID and HANDLE AID?
What is amode(24)?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Write the code implementing the perform … varying.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
explain sorting techniques in cobol program?