The PROC command is the first command in a SHAZAM procedure. Also see PROCEND and EXEC.
In general, the format is:
PROC procname .... procedure commands .... DELETE / ALL_ (optional) PROCEND