×
Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...
about basic program tsa.service
- tester111
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
7 years 3 months ago #20824
by tester111
about basic program tsa.service was created by tester111
I just run the service by trun tsa, but I don't know how to call the service by basic program? Anyone knows.
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
7 years 3 months ago #20825
by jpb
Replied by jpb on topic about basic program tsa.service
I think this is not a question of TAFJ or basic programming but of understanding the TSM / tSA concept.
There is no need to start tSM individually (neither by trun nor via a routine) when TSM is running in normal mode, only in DEBUG mode this is required.
So why write a routine "to call the tsa.service job" ?
When you are debugging "trun tSA n" will do the job and you have full control.
Else let TSM do what it is designed for: starting and stopping tSM threads.
There is no need to start tSM individually (neither by trun nor via a routine) when TSM is running in normal mode, only in DEBUG mode this is required.
So why write a routine "to call the tsa.service job" ?
When you are debugging "trun tSA n" will do the job and you have full control.
Else let TSM do what it is designed for: starting and stopping tSM threads.
Please Log in or Create an account to join the conversation.
- tester111
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
7 years 3 months ago - 7 years 3 months ago #20833
by tester111
how can i write a program to loop the text file data and then insert to database? any reference
Replied by tester111 on topic about basic program tsa.service
I think this is not a question of TAFJ or basic programming but of understanding the TSM / tSA concept.
There is no need to start tSM individually (neither by trun nor via a routine) when TSM is running in normal mode, only in DEBUG mode this is required.
So why write a routine "to call the tsa.service job" ?
When you are debugging "trun tSA n" will do the job and you have full control.
Else let TSM do what it is designed for: starting and stopping tSM threads.
how can i write a program to loop the text file data and then insert to database? any reference
Last edit: 7 years 3 months ago by tester111.
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
7 years 3 months ago #20837
by jpb
Replied by jpb on topic about basic program tsa.service
OK, maybe this helps :
www.t24all.com/index.php/forum/t24-devel...e-for-cob.html#15597
www.t24all.com/index.php/forum/t24-devel...e-for-cob.html#15597
Please Log in or Create an account to join the conversation.
- tester111
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
7 years 3 months ago #20845
by tester111
thanks for your information. but i still don't understand the program. if i have a file in the server folder, how can i write a program to read file line one by one and then insert into table in database? any reference?
Replied by tester111 on topic about basic program tsa.service
OK, maybe this helps :
www.t24all.com/index.php/forum/t24-devel...e-for-cob.html#15597
thanks for your information. but i still don't understand the program. if i have a file in the server folder, how can i write a program to read file line one by one and then insert into table in database? any reference?
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
Less
More
- Posts: 1116
- Thank you received: 150
7 years 3 months ago #20849
by VK
Cheers
VK
Replied by VK on topic about basic program tsa.service
Hi
> to read file line one by one
OPENSEQ... READSEQ
> insert into table in database
WRITE (F.WRITE if you write into T24 local application data file; OFS if that's core T24 application).
> to read file line one by one
OPENSEQ... READSEQ
> insert into table in database
WRITE (F.WRITE if you write into T24 local application data file; OFS if that's core T24 application).
Cheers
VK
Please Log in or Create an account to join the conversation.
- armin
- Offline
- Elite Member
- “So long - and thanks for all the fish!”
Less
More
- Posts: 300
- Thank you received: 57
7 years 3 months ago #20850
by armin
Replied by armin on topic about basic program tsa.service
Have you ever had a look into jBase handbook / online help?
e.g. www.jbase.com/r5/knowledgebase/manuals/3...man/jbc2_READSEQ.htm
or jbc.temenos.com/pages/readseq.html
e.g. www.jbase.com/r5/knowledgebase/manuals/3...man/jbc2_READSEQ.htm
or jbc.temenos.com/pages/readseq.html
Please Log in or Create an account to join the conversation.
- tester111
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
7 years 3 months ago #20855
by tester111
Do you have example how to use openseq to read and write to table. I am new to use t24. Thanks in advance.
Replied by tester111 on topic about basic program tsa.service
Hi
> to read file line one by one
OPENSEQ... READSEQ
> insert into table in database
WRITE (F.WRITE if you write into T24 local application data file; OFS if that's core T24 application).
Do you have example how to use openseq to read and write to table. I am new to use t24. Thanks in advance.
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
7 years 3 months ago #20856
by jpb
Replied by jpb on topic about basic program tsa.service
Even when you are "new to use t24" it can be expected that you consult the available documents before asking questions.
Please see Armin's links, there are sufficient examples provided.
Please see Armin's links, there are sufficient examples provided.
The following user(s) said Thank You: armin
Please Log in or Create an account to join the conversation.
- tester111
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
- Thank you received: 0
7 years 3 months ago #20860
by tester111
thanks for your information.
i read the sample program and i can't understand what is F.XXX and R.XXX where can i get the program what is different between F.XXX and R.XXX. and the variable i can't see anywhere it is declared in program, is it also in the include i_common file ?
Replied by tester111 on topic about basic program tsa.service
Have you ever had a look into jBase handbook / online help?
e.g. www.jbase.com/r5/knowledgebase/manuals/3...man/jbc2_READSEQ.htm
or jbc.temenos.com/pages/readseq.html
thanks for your information.
i read the sample program and i can't understand what is F.XXX and R.XXX where can i get the program what is different between F.XXX and R.XXX. and the variable i can't see anywhere it is declared in program, is it also in the include i_common file ?
Please Log in or Create an account to join the conversation.
- VK
- Offline
- Platinum Member
- Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
Less
More
- Posts: 1116
- Thank you received: 150
Time to create page: 0.132 seconds