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
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What are the pertinent COBOL commands?
What is the difference between perform … with test after and perform … with test before?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is difference between static and dynamic call in cobol?
Define cobol?
what is search and searchall?what is the diffrence between them?give an best example?
What are literals?
Why occurs cannot be used in 01 level in COBOL?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What is the LINKAGE SECTION used in COBOL?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?