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 / supriya tenany
Displaying '1', depends actually on the 'if' condition, since it is in the 'if' loop.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is report-item in COBOL?
What is link edit in cobol?
Which mode is used to operate the sequential file?
Why did you choose to work with ibm mainframe cobol programming?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
) How do u handle errors in BMS macro?
What is a report item?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What are the different types of condition in cobol and write their forms.
A table has two indexes defined. Which one will be used by the SEARCH?
Can we redefine the field of x(200) to less than 200?