COBOL Snippet: Tell where the control will when the below
code execute
IF (A=B)
CONTINUE
ELSE
NEXT SENTENCE
PERFORM <IMP-STMT>
END-IF.
Answer Posted / hitesh karnani
First of all, when you code , you have to know what do you
want to do....
Perform after next sentence doesn't make sense ..it never
executes....
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
Define cobol?
What are the access modes of START statement?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How arrays can be defined in COBOL?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your 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 difference between structured cobol programming and object alternativelyiented cobol programming?
Whats the difference between search & search ALL?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is perform what is varying?
What is the difference between next sentence and continue in cobol programing language?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is the compute verb? How is it used?
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?