if a=b how the flow will complete???
perform test through test-exit.
perform activa through activa-exit.
test.
if a=b then
next sentence
else
move a to c.
test-exit.
exit.
activa.
--
--
activa-exit.
exit.
It will come out of the activa-exit.
Mans a the condition is a=b fist it will perform "perform
test through test-exit."
if a=b then
next sentence --> comes here
else
move a to c.
test-exit.
exit.
As it is satisfying the if part it should go to next
sentence i.e it will come out of the text-exit.
Now it will perform "perform activa through activa-exit."
so it will come out of the activa-exit.
| Is This Answer Correct ? | 5 Yes | 0 No |
Difference between file status codes 02 and 22.... since both are for duplicate key detection.
What are literals?
what are the steps to sort in a cobol program?
how can we get current dat and time thru cobol pgm
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?
what is MSGLEVEL?
in the TIME parameter we r giving hours r minutes
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
What are declaratives and what are their uses in cobol?
What guidelines should be followed to write a structured Cobol program?