× 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...

MULTIPLE TERMINAL SCREENS USING JBASE PROGRAM

  • subhashmurali
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 23
  • Thank you received: 2

subhashmurali created the topic: MULTIPLE TERMINAL SCREENS USING JBASE PROGRAM

Hi All

Hope you are having a productive new year 2021.

Using jbase INFOBASIC code, we can have multiple screens within the same terminal session. However I haven't got any documents or help on the internet regarding how we can achieve it.

For example, using INFOBASIC PROGRAM, we can monitor progress of a utility (something like COB monitor) in one screen and another screen will show execution of statements.

Appreciate your help.

Thanks
MK
#23220

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • TAFC|R13|R19|R20
  • Posts: 832
  • Thank you received: 115

VK replied the topic: MULTIPLE TERMINAL SCREENS USING JBASE PROGRAM

Hi
if you need 2 screens - just open 2 sessions. It's possible to use jbase profiler to get some information about session 1 in session 2. Other scenarios I'm not aware of.
#23222
The following user(s) said Thank You: subhashmurali

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 1

DennisBartlett replied the topic: MULTIPLE TERMINAL SCREENS USING JBASE PROGRAM

As VK says if you want two screens open two sessions.

It helps to understand that InfoBasic runs singlethreaded in a session; that is, that when it is displaying stuff on one screen it cannot be showing you other things on a separate screen *in that session*. If indeed you want both sets of information in one session, you will have to manage the screen yourself, for example, with an overview / monitor screen as the routine starts, and an F3 (or some key) press clears the bottom of the screen to reveal the commands being executed? To achieve this, execute the process you want to monitor using the CAPTURE clause and store the output in a control file item. As each command is completed, it updates both the summary screen and appends that command's output to the detail record. The next time the F3 is pressed it will show the new lines added by the last command that completed. Hope that makes sense?
#23224
The following user(s) said Thank You: subhashmurali

Please Log in or Create an account to join the conversation.

  • Posts: 155
  • Thank you received: 11

silvergem replied the topic: MULTIPLE TERMINAL SCREENS USING JBASE PROGRAM

Monitoring COB require you to login. On execution of statements it doenst require you to login inside t24, just query.

SO just open 2 Terminal prompt
#23231

Please Log in or Create an account to join the conversation.

Time to create page: 0.132 seconds