Use Sybase Central or rs_init to grant the maintenance user permission to access the rs_lastcommit system table and the stored procedures that use it. Use grant all to grant permissions for tables and stored procedures involved in replication.
Neither Sybase Central nor rs_init grants permissions to the maintenance user for user tables and stored procedures. You must grant permissions on replicated tables and stored procedures before you can either replicate transactions for replicated tables or replicate executions of the replicated stored procedures.
grant all on table_name to maint_user
See the Replication Server Heterogeneous Replication Guide for the permissions to grant the maintenance user for non-ASE replicate databases.