If A>B
next sentence
end-if
display 1
display 2.
display 3.
If a>b, it will display only 3.(the next sentence,
ie., after fullstop/period)
____________________________________
if a>b
continue
end-if
display 1
display 2.
display 3.
If a>b, it Will display 1 2 3 (the next statement)
____________________________________
if a>b
continue
display 1
end-if
display 2
display 3.
display 4.
If a>b, Will it display 2 3 4 (or) 1 2 3 4 ?
Answer Posted / sakthi kumar
Actually Continue is a do nothing statement, so it will
proceed as it is.
It will display 1 2 3 4
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Whats the difference between search & search ALL?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What are the different rules for performing sort operation?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
) what is the difference between AID and HANDLE AID?
What is the utilization of copybook in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is the use of intialize verb?
What is report-item in COBOL?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Write the code to count the sum of n natural numbers.
What is redefines clause in COBOL?
Which mode is used to operate the sequential file?
how do you reference the printer file formats from cobol programs