× 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
More
3 years 3 months ago #23220 by subhashmurali
MULTIPLE TERMINAL SCREENS USING JBASE PROGRAM was created by subhashmurali
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

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
3 years 3 months ago #23222 by VK
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.

Cheers
VK
The following user(s) said Thank You: subhashmurali

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

More
3 years 3 months ago #23224 by DennisBartlett
Replied by DennisBartlett on 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?
The following user(s) said Thank You: subhashmurali

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

  • silvergem
  • silvergem's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • TAFC|R12/R13, TAFJ|R20
More
3 years 3 months ago #23231 by silvergem
Replied by silvergem on 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

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

Time to create page: 0.095 seconds