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 ASKTIME, SUSPEND
Name the divisions, which are available in a cobol program?
can i use multiple when statements in search & search all ? justify ur answer?
What is SDSF?
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
TYPES OF SORTINGS. which is more prefarable.
How can you submit a job from COBOL programs?
how can u redefine picx(10) with pic 9(6).
Under which scenario you would go for a static call as opposed to dynamic call?
Write a cobol program making use of the redefine clause.
Discuss about changing dataset name in proc.
What will happen if you code GO BACK instead of STOP RUN in a stand alone COBOL program ?
8 Answers Arigo Infotech, IBM,