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

What are the various section in data division and briefly explain them.

698


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.

1701


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

631


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230






Why occurs cannot be used in 01 level in COBOL?

719


Discuss about changing dataset name in proc.

761


How do you differentiate between cobol and cobol-ii?

656


What is amode(24)?

684


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

684


What guidelines should be followed to write a structured cobol prgm?

673


What is the LINKAGE SECTION used in COBOL?

889


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2009


Which mode is used to operate the sequential file?

669


What is the Purpose of POINTER Phrase in STRING command in COBOL?

721