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 |
How do you code Cobol to access a parameter that has been defined in JCL?
how the control comes back from subprogram to mainprogram
what are the steps to sort in a cobol program?
88 level entry is used for (a) data items in WORKING-STORAGE SECTION (b) items with RENAMES clause (c) condition-names (d) None of the above
can we use variable picture clause as xx.99 in cobol.
what is the difference between implicit and explicit scope terminator with example?
have in 100 records in a flat file i want to move records like 1,3,5,7,9,11,.. to Output file1 and 2,4,6,8,10,12,14 .. records moved to Output file2..Pls Provide real time answer..
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
if a file has 1000 recods how copy the records from 1 to 100 records using sort
S9(5)V9(2) occupies how many bytes memory ?
How many sections are there in data division?.