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 length is cobol?
Explain how to differentiate call by context by comparing it to other calls?
Give some examples of command terminators?
What are the pertinent COBOL
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the use of intialize verb?
what is search and searchall?what is the diffrence between them?give an best example?
What rules are followed by the search verb.
What are all the divisions of a COBOL program?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is the Purpose of Pointer in the string?
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?
how to move the records from file to array table. give with code example
What is cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?