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 / chandrababu naidu
if both values A and B values are equal, then control go to
'perform' statement, if both values A and B values are not
equal then control come out of if condition.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What are the different rules to perform a Search?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Are you comfortable in cobol or jcl?
how do you reference the esds vsam file formats from cobol programs
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What are the cobol coding sheets?
For rewrite, why is it mandatory that file needs to be opened?
What is the difference between goback, stop run and exit program in cobol?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Write the code to count the sum of n natural numbers.
What is the LINKAGE SECTION used in COBOL?
What are the different rules of SORT operation?
how do you define single dimensional array and multidimensional array in your cobol?
) How do u handle errors in BMS macro?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.