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
What is the local-storage section?
In COBOL programming, what is PERFORM? What is VARYING?
Why did you choose to work with ibm mainframe cobol programming?
What are literals?
What is the problem of ordered sequential files access?
) how do u code after getting data?
What is the use of intialize verb?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between perform … with test after and perform … with test before?
Write a program to explain size error.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How do you get the data to code the BMS macro?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
What rules are followed by the search verb.