What is an in-line perform ?

Answers were Sorted based on User's Feedback



What is an in-line perform ?..

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

What is an in-line perform ?..

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

What is an in-line perform ?..

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

What is an in-line perform ?..

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

Post New Answer

More COBOL Interview Questions

The maximum number of dimensions that an array can have in COBOL-85 is ?

11 Answers  


How do you come out of an EVALUATE statement?

3 Answers  


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

0 Answers  


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


Name the sections present in data division.

0 Answers  






What are the steps you go through while creating a COBOL program executable?

3 Answers  


What is inspect in cobol ?

0 Answers   Infosys,


What are the functions like c or c++ in cobol?

2 Answers  


How you can delete a record from a ps file in cobol?

1 Answers  


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


In EBCDIC, how would the number 1234 be stored?

2 Answers   TCS,


Write a cobol program making use of the redefine clause.

0 Answers  


Categories