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
i need a small 3d program using inline and outline.
What are the pertinent COBOL
What are the access modes of START statement?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Can we change the password using ALTER? anyone tried and changed?
What rules are to be followed while using the corresponding options?
How you can characterize tables in cobol?
How do you define a variable of comp-1 and comp-2?
What is the compute verb? How is it used?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How do you reference the fixed block file formats from cobol programs
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What guidelines should be followed to write a structured cobol prgm?