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

What is sort?

534


Explain the input procedure and output procedure?

521


seqence numbers in cobol

2664


What is output procedure?

543


Define perform?

521






Explain the difference between section, paragraph and sentences?

511


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

2067


What are fillers?

531


How to update data area in cobol 400 program?

579


Explain the types of perform?

525


Define redefine and its syntax?

544


Define sort?

581


What is the syntax of sort?

542


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

527


What are the types of perform?

571