Tips
Proc code usually belongs to a certain trigger.
The Uniface proc language reference manual section 6.4 is worth getting well acquainted with. It includes a table describing which proc code belongs in which trigger.