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


Please Help Members By Posting Answers For Below Questions

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.

3720


Define cobol?

864


What are the access modes of START statement?

719


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


How arrays can be defined in COBOL?

664






How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1657


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

711


Whats the difference between search & search ALL?

5264


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

825


What is perform what is varying?

711


What is the difference between next sentence and continue in cobol programing language?

712


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


What is the compute verb? How is it used?

661


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?

5379