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
Name some of the examples of COBOl 11?
what is difference between cobol and cobol/400
How to know whether the module is dynamical or statistical?
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 is rmode(24)
For rewrite, why is it mandatory that file needs to be opened?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
What are 77 levels used for?
What are the different open modes available in cobol?
how do you reference the ksds vsam file formats from cobol programs
HOw can I get the negative sign while deduct high value from low value
what are decleratives in cobol?
How do you define a variable of comp-1 and comp-2?