"port" is really a legacy multi-value entity that relates to workspace needed for certain COMMONS and variables.
The "port" can only change if a new thread is started. The only way a new thread would start is if a Linux process needed to run a jBASE process and therefore a new thread and new "port" would be assigned. Usually with a k-shell prefix in a BASIC EXECUTE CHAR(255):'k'... The first jBASE process starts a thread and assigns a multi-value "port". Processes started subsequent to that are sub-threads and do not need a separate thread or in the old multi-value days you would think "workspace". In most traditional multi-value setups of jBASE the first jBASE program and only thread is the LOGTO or jsh. Everything you execute from it is a sub-thread and thus, no new port. But, if you run a Linux command (no thread needed) and then from that linux command, run a jBASE command, that new jBASE command would need a thread (workspace) and "port". So for example if you ran a Linux script that did Linux type commands and then passed those to a jBASE program, that program would be separate from the original jBASE LOGTO/jsh and would need a new thread. Simple Example: in a BASIC program EXECUTE CHAR(255):'k':'/usr/bin/makepdf' If in the /usr/bin/makepdf it ran a jBASE command, that command would have a different "port", but when it returned, it would be back to the original "port". Hope this helps you to understand "ports" and how they relate. Dan Ell | jBASE Technical Engineer jBASE International, Inc. 813-498-2544 | 866-582-8447 [email protected] | www.jbase.com 1050 Calle Amanecer, Suite A | San Clemente, CA 92673 From: [email protected] <[email protected]> On Behalf Of Anne Sigman Sent: Sunday, August 29, 2021 8:54 AM To: jBASE <[email protected]> Subject: Re: Port and account changing Hi Troy, I have the same problem on jBase 5.6 and it causes problems from time to time when all of the users have been taken and there are no longer any more available. I had contacted jBase about this, and we never came to a resolution. And honestly at this point I'm not sure what they had suggested to diagnose it. If you figure it out I'd love to know. Anne On Friday, August 27, 2021 at 10:34:11 PM UTC-4 troyd1 wrote: Ok, I thought this was a general jbase forum. What kinds of things are normally posted here? Programming questions? Jquery questions? I have questions quite often. Sometimes the documentation is too simple or does not cover a certain options. As an example, I was trying to use the -r option with jshow - https://docs.zumasys.com/jbase/tools/jshow/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.zumasys.com%2Fjbase%2Ftools%2Fjshow%2F&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651595722%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=kTIrI9cjcMwrXyMoSEOqvHekxenj62oCoAoJBJ%2FObVI%3D&reserved=0> to do a regex search to find a program, but there is not an example and I could not get it to work and could not find any examples online on it either. Would that be something I should post here? From: [email protected] [mailto:[email protected]] On Behalf Of Mvreply Sent: Friday, August 27, 2021 3:01 PM To: [email protected] Subject: RE: Port and account changing Troy, I am not sure why you are posting here on this. If you require support for jBASE 5.8, please submit a ticket to [email protected] with complete details. Thank you. Mike From: [email protected] <[email protected]> On Behalf Of troyd1 Sent: 27 August 2021 20:44 To: jBASE <[email protected]> Subject: Port and account changing I am working on a 5.8 system and some of the user during the day will have their port will change to the next available for and the account will be their username even though it does not exist and it messes everything up. They are using accuterm and the menus and programs are jbc programs. I have tried everything I can think of to duplicate this, but cannot and it does not seem to always be the same thing. Anyone have any suggestions on this? I was thinking if adding some logging before each program, but the way it is written, that is a lot of programming. Is there a config setting that does logging like this? They don't have a lot of users, so I am not worried about dragging the system down if something like that is available. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651605683%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FNyB8km%2FBFR0lKHWpYZ%2Bsqamfcwwg2aPL8NVkhYi25c%3D&reserved=0> --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/7cb6a5f9-e048-4380-abaa-d6865b7bd505n%40googlegroups.com<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F7cb6a5f9-e048-4380-abaa-d6865b7bd505n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651605683%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=9M%2BS9EkaUOnByWP%2BW6hK2MNNZF11mxCD%2F%2FqTy5Qcsjo%3D&reserved=0>. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651605683%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FNyB8km%2FBFR0lKHWpYZ%2Bsqamfcwwg2aPL8NVkhYi25c%3D&reserved=0> --- You received this message because you are subscribed to a topic in the Google Groups "jBASE" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/jbase/Y-ilq0EA9J4/unsubscribe<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Ftopic%2Fjbase%2FY-ilq0EA9J4%2Funsubscribe&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651615639%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=vPZAu%2FogULNiutMtBA6Ey273SnaYqoH5hSAK4TGiHC0%3D&reserved=0>. To unsubscribe from this group and all its topics, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/CO6PR18MB44834C49820CCB59B60A4526B3C89%40CO6PR18MB4483.namprd18.prod.outlook.com<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2FCO6PR18MB44834C49820CCB59B60A4526B3C89%2540CO6PR18MB4483.namprd18.prod.outlook.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651615639%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TzjnAe53YZaW3kASgwVPZ%2B%2BMrlCv2nY2xgLICFebFY8%3D&reserved=0>. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected]<mailto:[email protected]> To unsubscribe, send email to [email protected]<mailto:[email protected]> For more options, visit this group at http://groups.google.com/group/jBASE?hl=en<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651625595%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=W5wc1E63%2FnAkimd0bue4Mk3tzbNJdYh6NNSJI0KjWZg%3D&reserved=0> --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/fb606ddc-c229-4b73-8f0f-f2077ced85b5n%40googlegroups.com<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2Ffb606ddc-c229-4b73-8f0f-f2077ced85b5n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Cdane%40jbase.com%7C9c1a1ea97d2441e9cb5b08d96b2c2542%7Cbfd62fcabd384e07a0785e9943d1f9c0%7C0%7C1%7C637658659651625595%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=iO07tr2erZtGzbEBOd6X%2FM7FtPtazEXpdvK9uSFIoS4%3D&reserved=0>. -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jbase/DM6PR18MB3617C0C811643A3FFD7A5425C4CB9%40DM6PR18MB3617.namprd18.prod.outlook.com.
