Procedures store procedural SQL statements in a database for use by all applications. They can include control statements that allow repetition (LOOP statements) and conditional execution (IF and CASE statements) of SQL statements.
See SQL Anywhere Server - SQL Usage > Stored procedures and triggers > Using procedures, triggers, and batches.