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 / niveditha
This code looks funny.but still some times it is useful. If
A=B the control will be start immediately from after end-if.
If A not = B then perform loop will executes. there is no
meaning of next sentence
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What is a scope terminator give example?
) How do u handle errors in BMS macro?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Write some characteristics of cobol as means of business language.
How do define dynamic array in cobol.
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Whats the difference between search & search ALL?
What is the local-storage section?
What is the difference between next sentence and continue in cobol programing language?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is the difference between PIC 9.99 and PIC9v99?
What is the difference between perform … with test after and perform … with test before?
Write a program that uses move corresponding.