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

What is length is cobol?

852


Explain how to differentiate call by context by comparing it to other calls?

895


Give some examples of command terminators?

934


What are the pertinent COBOL

2233


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1876


What is the use of intialize verb?

964


what is search and searchall?what is the diffrence between them?give an best example?

6135


What rules are followed by the search verb.

816


What are all the divisions of a COBOL program?

877


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17503


What is the Purpose of Pointer in the string?

814


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7280


how to move the records from file to array table. give with code example

2418


What is cobol?

937


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

856