what is PERFORM? and its types?

Answer Posted / prasad kulkarni

The perform statement is used to execute group of
consecutive statements written somewhere else in the
program. (JUST LIKE WE CALL FUNCTIONS IN C LANGUAGE).
During execution when a perform statement is encountered, a
temporary departure from the normal sequential execution
takes place and the statements contained in the specified
para are executed and then control implicitely
(automatically) returns to the next statement following the
perform statement.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to update data area in cobol 400 program?

575


I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2064


Explain the output procedure?

573


What is output procedure?

542


seqence numbers in cobol

2658






Explain how to detect record is locked in cobol/400? What is the solution for that?

530


Explain the difference between section, paragraph and sentences?

510


why icetool be used in programmer view?

2141


What is redefine?

552


What is perform?

535


Define sort?

581


Explain the input procedure?

535


What is input procedure?

578


What is sort? And its syntax?

668


Define perform?

518