Use sp_configure to enable RepAgent on Adaptive Server.
You need to perform this task only once at each Adaptive Server.
sp_configure 'enable rep agent threads' is a dynamic option. It takes effect immediately. However, you may want to restart Adaptive Server after enabling RepAgent so that Adaptive Server allocates a fixed number of dedicated static process structures for the thread. Otherwise, RepAgent borrows process structures from the pool dedicated to user connections.