What is ASKTIME, SUSPEND



What is ASKTIME, SUSPEND..

Answer / 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

More COBOL Interview Questions

Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?

14 Answers   Accenture, TCS,


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


What is the difference between CALL BY VALUE and CALL BY CONTENT?

7 Answers  


What is the default value of DISP parameter?

3 Answers   IBM,


In COBOL "BEFORE" advancing is there or not ?

3 Answers  






What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

0 Answers  


how can you identify wheather the program is using search or search all in the cobol program?

5 Answers   iGate,


What is 66 level number and where it is used in real time by software developers?

2 Answers   ITC Indian Tobacco Company, TCS,


01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

5 Answers   TCS,


I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please

2 Answers  


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

7 Answers   T systems,


i want to enter the name 'pandu' into ur table how?

1 Answers   Fidelity,


Categories