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

What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


can we declare s9(9)v9(9) in cobol ? if yes how many bytes it will occupy ?(urgent plz answer it)

13 Answers   CTS,


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

0 Answers   IBM,


What is amode(24)?

0 Answers  


When can the USING phrase be included in the call statement ?

2 Answers  






input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 Answers  


how to access vsam files in cobol and how to differentiate that this is ESDS file

1 Answers   EDS,


In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.

1 Answers   CSC,


what is jcl approach for programming?

4 Answers   IBM,


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  


Explain fixed length record in cobol? with suitable example

1 Answers   IBM,


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

0 Answers  


Categories