Answer Posted / naidu sekhar yandrapu
ASKTIME
Asktime command is used to request the current date and time
EXEC CICS
ASKTIME(WS-DATE)
ABSTIME
END-EXEC
FORMAT TIME is used date and time
EXEC CICS
FORMAT
YYYYMMDD(WS-DATE)
DATESEP("/")
MMDDYYYY(WD-DATE)
DATE("-")
HHMMSS(WS-TIME)
TIMESEP(";")
MMHHSS(WS-TIME)
TIMESEP(":")
END-EXEC.
SUSPEND:
TO SUSPEND THE EXECUTION OF TASK
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the Purpose of Pointer in the string?
Which division and paragraphs are mandatory for a COBOL program?
What is the difference between PIC 9.99 and 9v99 in COBOL?
what is the difference between COBOL2 AND COBOL390?
What is a scope terminator give example?
What is the difference between Global and External Variables?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What are the different data types in cobol?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is link edit in cobol?
Write a program to enter and display the names of students in a class using the occurs clause.
What is the local-storage section?
what is s000 u4087 error? please give the all error codes in cobol,jcl.