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


Please Help Members By Posting Answers For Below Questions

System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1588


Why did you choose to work with ibm mainframe cobol programming?

631


What are the different rules of SORT operation?

699


How can you get the ksds file records into your cobol program?

644


What guidelines should be followed to write a structured cobol prgm?

673






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.

1783


What are the different open modes available in cobol?

722


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

712


What are the pertinent COBOL

2045


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


For rewrite, why is it mandatory that file needs to be opened?

623


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

712


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

685


how do you reference the rrds file formats from cobol programs

800


What is the utilization of copybook in cobol?

657