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