What is ASKTIME, SUSPEND

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


Please Help Members By Posting Answers For Below Questions

Explain about different table spaces.

628


) How do u handle errors in BMS macro

1491


Write a program to enter and display the names of students in a class using the occurs clause.

638


What is the difference between perform … with test after and perform … with test before?

859


What is length is cobol?

636






example for sub strings ? and refernce modifications whit output pls

1826


What the difference is between continue and next sentence?

641


how to move the records from file to array table. give with code example

2202


What is amode(31)

710


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1912


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

689


Difference between array and sub-script ?

1147


IF I mention stop run in CICS what happens?

1876


What is rmode(any) ?

674


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

722