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 / dharma
it will display 2 3 4 only
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How do get the result of your program directly on your pc?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is rmode(any) ?
How do we get current date from system with century in COBOL?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Write down the divisions of cobol program?
Define static linking and dynamic linking.
) what is the difference between AID and HANDLE AID?
Explain the configuration section of a cobol program with examples of syntax.
Why occurs cannot be used in 01 level in COBOL?
What is redefines clause in COBOL?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What the difference is between continue and next sentence?