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 are the functions like c or c++ in cobol?

2 Answers  


i WANT ALL ERROR codes IN CICS and DB2

2 Answers  


If you were passing a table via linkage, which is preferable - a subscript or an index?

3 Answers   TCS,


Can we use goto statement in inline_perform ?

5 Answers   IBM,


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

0 Answers  






what is the maximum error code in mainframe

2 Answers  


can anyone explain me the concept of COMP-4 PLEASE??

2 Answers  


How we copy a program from production region to development region.What is the process & syntax ?

3 Answers   CTS,


88 class is used for

5 Answers   CTS, EDS,


i Want All cobol ERROR codes?

4 Answers   HCL, IBM,


What is the difference beetween Arrays and Tables in Cobol? please dont give the answer that arrays in cobol terminology is called tables......

3 Answers   BirlaSoft,


what is the default print format? in cobol

3 Answers   HSBC,


Categories