Previous Topic Next topic Print topic


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

procedure-division-header statement-block

procedure-division-header

attribute-clause attribute-clause attribute-clause attribute-clause attribute-clause

The PARAMS phrase is optional, but must be last.

See the Core sample, which is available from Start > All Programs > Micro Focus Studio Enterprise Edition x.x > Samples, under COBOL for .NET .

Previous Topic Next topic Print topic