Procedure Division

The procedure division defines the code to be executed when a type or member is invoked. The procedure division header defines any parameters to pass in to the code and any returning item to pass back.

procedure-division

Syntax of the procedure division header
 procedure-division-header statement-block

procedure-division-header

Syntax of the Procedure Division header attribute-clause attribute-clause attribute-clause attribute-clause attribute-clause

See the Core sample, which is available from Start > All Programs > Micro Focus Visual COBOL > Samples , under Language Reference for JVM COBOL (Windows) or $COBDIR/demo (UNIX).