What is an in-line perform ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / tiny
PERFORM ... ...
END PERFORM
When the body of the perform will not be used in other
paragraphs. If the body of the perform is a generic type of
code (used from various other places in the program), it
would be better to put the code in a separate para and use
PERFORM paraname rather than in-line perform.It increases
the readability of the program.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / dk.kannan@gmail.com
in-line perform is nothing but to check the body of the
statement only.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / santosh khot
In-line Perform is included in Cobol II this was not in
Previous version of Cobol. when dont want to take the
control to the paragraph want to execute same code for
number of times with in same in-line perform is used
Syntex is
perform until identifier
....
.....
.....
end-perform.
| Is This Answer Correct ? | 1 Yes | 4 No |
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
WHAT IS SOC3?HOW IT CAN BE RESOLVED?
What is the difference between subscript and index?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
Explain about level numbers?
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
where will we code call by content and call by reference dude pls reply soon ?
When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
What is CALL statement in COBOL?
what is the maximum error code in mainframe