Answer Posted / sreedevi
When set of statements are used only in one place then we
can group all of them within PERFORM END-PERFORM structure.
This is called INLINE PERFORM. This is equal to DO..END
structure of other languages.
PERFORM
ADD A TO B
MULTIPLE B BY C
DISPLAY 'VALUE OF A+B*C ' C
END-PERFORM
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
In which area will you utilize 88 level items in cobol?
i need a small 3d program using inline and outline.
A table has two indexes defined. Which one will be used by the SEARCH?
Write the code implementing the perform … varying.
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
what happens if parmparameter passes zero bytes to the program
Write a program that uses move corresponding.
Write down the divisions of cobol program?
how do you reference the ksds vsam file formats from cobol programs
How do you define a variable of comp-1 and comp-2?
) How do u handle errors in BMS macro
i want a program using by if, evaluate , string, unstring, perform, occurs?
What guidelines should be followed to write a structured cobol prgm?
Have you used comp and comp-3 in your project? And how?