Perform a paragraph
TP-PERFORM paragraphname
Perform a paragraph and pass arguments
TP-PERFORM paragraphname actualargument1[[,] ... actualargument2[,] ... actualargument8] . paragraphname ([+|-]formalargument1[[,] ... [+|-]formalargument2[,] ... [+|- ]formalargument8])
+|- |
A plus (+) or minus (-) sign preceding a formalargument passes values between actual arguments and formal arguments, as follows. |
With a plus sign (+), PERFORM passes the actualargument value to formalargument after the paragraph executes. The program does not return the formalargument value to actualargument. |
|
With a minus sign (-), PERFORM passes the formalargument value to the actualargument after the paragraph executes. |
|
If there is no prefix, the PERFORM passes the actualargument to its corresponding formalargument. After the paragraph executes, PERFORM passes the formalargument back to its corresponding actualargument. |
|
actual-argument |
Values you send or receive from a formalargument in the paragraph; can be literals, identifiers, arithmetic expressions, or index names. |
formal-argument |
Values you receive from or send to an actualargument in the PERFORM statement. |
paragraph-name |
Name of paragraph to perform. |