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 |
give the examples for strings and unstrings in cobol
Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?
What is the difference between subscript and index?
Which of the following paragraphs is compulsory in every COBOL program? (a) SPECIAL-NAMES (b) PROGRAM-ID (c) FILE-CONTROL (d) OBJECT-COMPUTER
How many divisions we have in Cobol ?
given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1
What are the access modes of START statement?
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
In a program, variables are used but no DB2 involved in it. Can you call it as host variables??
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is IMPACT analysis?
Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.