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 / sakthi kumar
Actually Continue is a do nothing statement, so it will
proceed as it is.
It will display 1 2 3 4
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
IF I mention stop run in CICS what happens?
Write the code implementing the perform … varying.
Can a Search can be done on a table with or without Index?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
how do you reference the fixed unblock file formats from cobol programs
How to know whether the module is dynamical or statistical?
What rules are to be followed while using the corresponding options?
What is difference between static and dynamic call in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Why would you use find and get rather than to obtain?
What are literals?
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 ......