create a new routine?
- tomy
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
16 years 5 months ago - 16 years 5 months ago #3271
by tomy
create a new routine? was created by tomy
hi all!
if i want to view an exist routine or subroutine in t24.
how can i find it? and show the result of that routine?
where we can create a new routine?
what should i learn before i can create it?
can you give me a simple example of it?
thanks.
if i want to view an exist routine or subroutine in t24.
how can i find it? and show the result of that routine?
where we can create a new routine?
what should i learn before i can create it?
can you give me a simple example of it?
thanks.
Last edit: 16 years 5 months ago by tomy.
Please Log in or Create an account to join the conversation.
- bala_gates
- Offline
- Premium Member
-
Less
More
- Posts: 152
- Thank you received: 0
16 years 5 months ago #3277
by bala_gates
Replied by bala_gates on topic Re:create a new routine?
Almost all the routines will be available in GLOBUS.BP normally. In some places the client will segregate the core routines and the local routines in different BP.
to know the routines that are attched to T24, login into globus and go to PROGRAM.FILES and put L L and select the TYPE = "S", it will display all the subroutines attached to various places in globus.
TYPE= "M", which will display the mainline routines that are available in globus to extract some details which will be either executed in commandline or through any menu attached to globus.
To start with writing routine, first identify really a routine is needed to meet your requirement, if yes then identify which are the modules are that are related to fetch the results for the requirments.
Then in your routine, make a practise you have segregated the process hierarchically to identify the problem when you debug. Always use the field name from the insert files, never use the equalent number, may be infuture updates the number may change but the name in the file will not changed. Always put your comments for the para what you are doing
Dont use multiple select commands which will slowdown the performance of globus in the realtime environment. In test environment you will get the results in notime, but in realtime you will be facing the problem in retrieving data.
Dont use any mapping variable with a single letter or unrelated words, it will be a problem in future if a person other than you debugs or doing a fune tuning
I will continue in the next episode if the time permits
Regards
R Balaguru
to know the routines that are attched to T24, login into globus and go to PROGRAM.FILES and put L L and select the TYPE = "S", it will display all the subroutines attached to various places in globus.
TYPE= "M", which will display the mainline routines that are available in globus to extract some details which will be either executed in commandline or through any menu attached to globus.
To start with writing routine, first identify really a routine is needed to meet your requirement, if yes then identify which are the modules are that are related to fetch the results for the requirments.
Then in your routine, make a practise you have segregated the process hierarchically to identify the problem when you debug. Always use the field name from the insert files, never use the equalent number, may be infuture updates the number may change but the name in the file will not changed. Always put your comments for the para what you are doing
Dont use multiple select commands which will slowdown the performance of globus in the realtime environment. In test environment you will get the results in notime, but in realtime you will be facing the problem in retrieving data.
Dont use any mapping variable with a single letter or unrelated words, it will be a problem in future if a person other than you debugs or doing a fune tuning
I will continue in the next episode if the time permits
Regards
R Balaguru
Please Log in or Create an account to join the conversation.
- tomy
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
16 years 4 months ago #3507
by tomy
Replied by tomy on topic Re:create a new routine?
and do you have any documents related to write a routine to help me understand of their code?
thanks
thanks
Please Log in or Create an account to join the conversation.
- goldenchance
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
14 years 9 months ago - 14 years 9 months ago #6455
by goldenchance
www.mediafire.com/?228f639535dz6u6
Replied by goldenchance on topic Re:create a new routine?
Here you are some basic programming in jbase.and do you have any documents related to write a routine to help me understand of their code?
thanks
www.mediafire.com/?228f639535dz6u6
Last edit: 14 years 9 months ago by goldenchance.
Please Log in or Create an account to join the conversation.
- kartsnek
- Visitor
-
14 years 8 months ago #6861
by kartsnek
Replied by kartsnek on topic Re:create a new routine?
hi,
better to refer the commands in the following URL
www.jbase.com
www.jbase.com/r5/knowledgebase/manuals/3...anpages/man/JBC1.htm
Regards,
Karthikeyan K
better to refer the commands in the following URL
www.jbase.com
www.jbase.com/r5/knowledgebase/manuals/3...anpages/man/JBC1.htm
Regards,
Karthikeyan K
Please Log in or Create an account to join the conversation.
- yukibuwana
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 0
13 years 11 months ago #9708
by yukibuwana
Replied by yukibuwana on topic Re:create a new routine?
I follow the step bye step on "4.InfobasicProgramInjBASE.pdf". At page 40, I execute the routine from command line. There's a error "CUS.DISPLAY.DETAILS: No such file or directory". Anyone can help me for this error ?
- Yuki -
- Yuki -
Please Log in or Create an account to join the conversation.
- wam
- Offline
- Senior Member
-
Less
More
- Posts: 55
- Thank you received: 3
13 years 11 months ago #9760
by wam
Replied by wam on topic Re:create a new routine?
Have you created its entry in PGM.FILE ?
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
Less
More
- Posts: 2860
- Thank you received: 650
13 years 11 months ago - 13 years 11 months ago #9768
by jpb
This error sounds like jsh message.
I don't know the doc but if you talk about a SUBROUTINE you must create a PGM.FILE and start it from within T24, if it's a PROGRAM you can start it from jsh prompt.
Replied by jpb on topic Re:create a new routine?
There's a error "CUS.DISPLAY.DETAILS: No such file or directory".
This error sounds like jsh message.
I don't know the doc but if you talk about a SUBROUTINE you must create a PGM.FILE and start it from within T24, if it's a PROGRAM you can start it from jsh prompt.
Last edit: 13 years 11 months ago by jpb.
Please Log in or Create an account to join the conversation.
- yukibuwana
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 0
13 years 11 months ago #9775
by yukibuwana
Replied by yukibuwana on topic Re:create a new routine?
Ok guys, I will try it. Thanks.
- Yuki -
- Yuki -
Please Log in or Create an account to join the conversation.
Time to create page: 0.038 seconds