How To Create TSA Service and Test It
How To Create TSA Service and Test It
4. Now create TSA.Service record, you need to provide work profile here where you will define no
of agents. If your service will be multi-threaded, ur agents should be more than one and for
single threaded service, one agent is enough.
5. Now for testing in debug mode, compile ur batch routine with debug.
6. From classic, stop TSM service and your service.
Service is already stopped.
7. Now take another classic session by alt+D and open DBT here. DBT > JQL
8. Now clear queues by following commands:
CLEAR-FILE F.TSA.STATUS
CLEAR-FILE F.OFS.REQUEST.DETAIL
CLEAR-FILE F.OFS.MESSAGE.QUEUE
CLEAR-FILE F.OFS.RESPONSE.QUEUE
Clear other queues as well.
9. Now, start the TSM and you service.
10. Now run TSM from below command,
TRUN START.TSM –DEBUG
See your service is running on agent 15.
11. Now run agent 15 to debug ur service with below command
tRun tSA 15
My service was stopped on TSM as no data was found in routine selection criteria so I again start
it after updating the data and a new agent is assigned to it which is 21