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 / lu
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 ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is the local-storage section?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how to refer the data field?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is difference between static and dynamic call in cobol?
How do you define a variable of comp-1 and comp-2?
example for sub strings ? and refernce modifications whit output pls
How to use the same COBOL program in Batch and CICS on lines? explain with an example
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 ?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What rules are to be followed while using the corresponding options?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Difference between array and sub-script ?