- Forum
- T24 Technical Discussions
- T24 Installation & Configuration
- tSA service gives error on executing
×
Discuss on T24 Installation, Setting up the environment, TC Server, jBOSS, Package & Deployment, etc…
tSA service gives error on executing
- assiddiqui
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
- Thank you received: 0
9 years 11 months ago #15908
by assiddiqui
tSA service gives error on executing was created by assiddiqui
I have created a new single threaded tsm service but it gives error SUBROUTINE_CALL_FAIL when executing. Please find below records created.
PROGRAM PK.MF.DAO.EXT
1 TYPE.............. B
2. 1 GB SCREEN.TITLE PK.MF.DAO.EXT
5 PRODUCT........... MF
14 CURR.NO........... 6
BATCH PROCESS..... EOD.SERVICES
3 PROCESS.STATUS.... 0 READY
4 BATCH.ENVIRONMENT. F FOREGROUND
6. 1 JOB.NAME....... PK.MF.DAO.EXT
8. 1 FREQUENCY...... D DAILY
12. 1 JOB.STATUS..... 0 READY
13. 1 LAST.RUN.DATE.. 14 APR 2014
17 CURR.NO........... 1
WORKLOAD.PROFILE.. EOD.SERVICES
1 DESCRIPTION....... EOD.SERVICES
3. 1 AGENTS.REQUIRED 1
15 CURR.NO........... 3
SERVICE........... EOD.SERVICES
1. 1 DESCRIPTION.... EOD.SERVICES
3. 1 WORK.PROFILE... EOD.SERVICES EOD.SERVICES
4 USER.............. INPUTTER INPUTTER
5 SERVICE.CONTROL... AUTO
PROGRAM PK.MF.DAO.EXT
1 TYPE.............. B
2. 1 GB SCREEN.TITLE PK.MF.DAO.EXT
5 PRODUCT........... MF
14 CURR.NO........... 6
BATCH PROCESS..... EOD.SERVICES
3 PROCESS.STATUS.... 0 READY
4 BATCH.ENVIRONMENT. F FOREGROUND
6. 1 JOB.NAME....... PK.MF.DAO.EXT
8. 1 FREQUENCY...... D DAILY
12. 1 JOB.STATUS..... 0 READY
13. 1 LAST.RUN.DATE.. 14 APR 2014
17 CURR.NO........... 1
WORKLOAD.PROFILE.. EOD.SERVICES
1 DESCRIPTION....... EOD.SERVICES
3. 1 AGENTS.REQUIRED 1
15 CURR.NO........... 3
SERVICE........... EOD.SERVICES
1. 1 DESCRIPTION.... EOD.SERVICES
3. 1 WORK.PROFILE... EOD.SERVICES EOD.SERVICES
4 USER.............. INPUTTER INPUTTER
5 SERVICE.CONTROL... AUTO
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- TAFj-R20 - 'unix'
Less
More
- Posts: 2854
- Thank you received: 649
9 years 11 months ago #15909
by jpb
Replied by jpb on topic tSA service gives error on executing
Try with BATCH.JOB set to @PK.MF.DAO.EXT in PGM.FILE
Please Log in or Create an account to join the conversation.
- assiddiqui
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
- Thank you received: 0
9 years 11 months ago - 9 years 11 months ago #15910
by assiddiqui
Replied by assiddiqui on topic tSA service gives error on executing
Ok Done. thanks.
Please also help if i a have local routine which gets some input while execution, if i want to attach it to a BATCH so how could i acheive it.
Please also help if i a have local routine which gets some input while execution, if i want to attach it to a BATCH so how could i acheive it.
Last edit: 9 years 11 months ago by assiddiqui.
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- TAFj-R20 - 'unix'
Less
More
- Posts: 2854
- Thank you received: 649
9 years 11 months ago #15911
by jpb
Replied by jpb on topic tSA service gives error on executing
Interaction with routines during Batch is not possible.
If you need to pass 'static' input, i.e. parameters you can use the field DATA in BATCH.
In your routine the input from there is available in BATCH.DETAILS<3,1,SM>
If you need to pass 'static' input, i.e. parameters you can use the field DATA in BATCH.
In your routine the input from there is available in BATCH.DETAILS<3,1,SM>
Please Log in or Create an account to join the conversation.
- assiddiqui
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
- Thank you received: 0
9 years 11 months ago #15912
by assiddiqui
Replied by assiddiqui on topic tSA service gives error on executing
Basically i have a routine with extract a report by passing parameters of FROM DATE and TO DATE. Is there any posibility to acheieve it.
And please also tell for a multithreaded service what changes should i make to the service..??
Many Thanks!
And please also tell for a multithreaded service what changes should i make to the service..??
Many Thanks!
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- TAFj-R20 - 'unix'
Less
More
- Posts: 2854
- Thank you received: 649
9 years 11 months ago #15913
by jpb
Replied by jpb on topic tSA service gives error on executing
I would make the period generic [i.e. FROM.DATE = TODAY CALL CTD("00",FROM.DATE,"-5W") TO.DATE = TODAY] or pass it from DATA (where you can update it manually or with another routine to set the dates needed).
Your second question is not quite clear, do you want to change a single-thread routine into a service ?
Your second question is not quite clear, do you want to change a single-thread routine into a service ?
Please Log in or Create an account to join the conversation.
- assiddiqui
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
- Thank you received: 0
9 years 11 months ago #15914
by assiddiqui
Replied by assiddiqui on topic tSA service gives error on executing
If i need a service to run at every 5 mins so where could i define the time stans. Should this be achieve by singletheaded sevice which i already created or needs to convert it into a multithreaded service.
My second question is about the steps of creating multithreaded service??
Thank You once again.
My second question is about the steps of creating multithreaded service??
Thank You once again.
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- TAFj-R20 - 'unix'
Less
More
- Posts: 2854
- Thank you received: 649
9 years 11 months ago #15915
by jpb
Replied by jpb on topic tSA service gives error on executing
Try starting the TSA.SERVICE with SERVICE.CONTROL = AUTO and REVIEW.TIME = 300, don't forget to STOP it before COB . It doesn't matter if the routine is multi-threaded or single, this is handled by TSM.
To create a service see www.t24all.com/index.php/component/kunen...e-for-cob.html#15437
To create a service see www.t24all.com/index.php/component/kunen...e-for-cob.html#15437
Please Log in or Create an account to join the conversation.
- assiddiqui
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
- Thank you received: 0
9 years 11 months ago - 9 years 11 months ago #15916
by assiddiqui
Replied by assiddiqui on topic tSA service gives error on executing
Thanks for your timely support.
One last question if the service is set as AUTO and the TSM services are opened in -DEBUG mode. does this create any impact to the service or it will run smoothly??
One last question if the service is set as AUTO and the TSM services are opened in -DEBUG mode. does this create any impact to the service or it will run smoothly??
Last edit: 9 years 11 months ago by assiddiqui.
Please Log in or Create an account to join the conversation.
- jpb
- Offline
- Moderator
- TAFj-R20 - 'unix'
Less
More
- Posts: 2854
- Thank you received: 649
9 years 11 months ago #15918
by jpb
Replied by jpb on topic tSA service gives error on executing
Never tried that - maybe you have to launch a new tSA after REVIEW.TIME?
Please Log in or Create an account to join the conversation.
- assiddiqui
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 128
- Thank you received: 0
9 years 11 months ago #15919
by assiddiqui
Replied by assiddiqui on topic tSA service gives error on executing
Ok. Thanks!
Please Log in or Create an account to join the conversation.
- Forum
- T24 Technical Discussions
- T24 Installation & Configuration
- tSA service gives error on executing
Time to create page: 0.206 seconds