PGM

From MidrangeWiki
Jump to: navigation, search

PGM indicates the beginning of a CL program and it's parameters.

Syntax

The syntax of the PGM statement is :

PGM PARM(&VAR1 &VAR2 &VAR3)

The PARM parameter is optional and is only needed if the program is going to be passed parameters.

Although there is a command definition for PGM, it does not do anything functionally.