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
how do you reference the variable unblock file formats from cobol programs
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
How do you reference the fixed block file formats from cobol programs
Explain what you understand by passing by value.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is an in line perform? When would you use it? Anything else you wish to say about it.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What are the access modes of START statement?
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
What is a SSRANGE and NOSSRANGE?
Why occurs cannot be used in 01 level in COBOL?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Can a Search can be done on a table with or without Index?