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
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Why did you choose to work with ibm mainframe cobol programming?
What are the different rules of SORT operation?
How can you get the ksds file records into your cobol program?
What guidelines should be followed to write a structured cobol prgm?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What are the different open modes available in cobol?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are the pertinent COBOL
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
For rewrite, why is it mandatory that file needs to be opened?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
how do you reference the rrds file formats from cobol programs
What is the utilization of copybook in cobol?