Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ChrisKCAi

#1
Programming / Correcting Missing Key (again)
August 06, 2025, 03:53:01 PM
Revisiting this thread from a few years back:
Missing Key
We still have this "Correcting missing key" happen sporadically at a few customer sites.
These are all Windows systems.
It's (almost?) always when we delete several records from a file in rapid succession, like within a select loop. Even if this is some sort of indication of potential corruption, clicking "OK" and proceeding always seems to resolve whatever the problem was. I'd like to revisit whether a parameter or something can be added so  PxPlus just does the "OK" action without any need to see/respond to a message box.
#2
Programming / Re: talking to smtp.office365.com
August 12, 2024, 11:39:55 AM
As an adjunct to this, I'd like to resurrect a previous question - Previously, SMTP was excluded from requiring OAUTH2 for sending emails via Exchange/365 online. It appears that will no longer be the case in the near future (Sep '25) https://techcommunity.microsoft.com/t5/exchange-team-blog/exchange-online-to-retire-basic-auth-for-client-submission-smtp/ba-p/4114750

We use *web/email throughout our system to send emails and many of our installations use Exchange online as their SMTP server (typically port 587/STARTTLS). In a previous thread about this https://forum1.pvxplus.com/index.php?topic=996.msg3417#msg3417 Mike mentions that requiring OAUTH2 for SMTP would be "problematic" but it appears we are going to have that problem. Is anyone else anticipating this and/or have a proposed solution?
#3
iNomads / Apache 32/64
March 13, 2023, 01:14:38 PM
There is a note in the iNomads setup documentation re: Apache that states "Only the 32-bit version of Apache is supported."
Is that still the case?
#4
Thin Client/WindX / WindX screen rendering performance
February 06, 2023, 04:17:41 PM
We have traditionally used RDP as our "client" to a Windows backend server running PxPlus. We are actively testing using WindX (*plus/cs/client) connecting to the Simple CS Server (*plus/cs/host) on a Windows server instead. There is a noticeable lag in screen (we use Nomads) rendering on the client using WindX vs. RDP when connecting to the same server. We are testing with a web license installed on the server and with 'TU' and '+W' enabled - are there additional tips/tricks/settings/optimizations we can take advantage of? I know when dealing with images, it's optimal to have the images resident on the local client, but I am talking about just basic panel & control drawing - looking for ways to improve that. Any help is appreciated.
#5
Language / Re: Detecting a CALL
January 12, 2023, 11:22:10 AM
Thanks, Mike. Pretty much what I had suspected and we will have to manufacture something for this use case.
#6
Language / Re: Detecting a CALL
January 12, 2023, 10:50:35 AM
We had been using TCB(13) but in this particular case we have this scenario:
A lead-in program (lpg) PERFORMs program A which RUNs program B so TCB(13) is > 0 even though the program B was RUN.
#7
Language / Detecting a CALL
January 12, 2023, 10:07:59 AM
Is there a way to detect (within the program itself) that a program was CALLed - even if there are no arguments passed (i.e. tcb(20)=0)?
I know we can probably try to leverage the STK contents to try and figure it out but was wondering if there was something more straighforward/foolproof that we could use.

Thanks!
#8
Programming / Re: Anyone using webhooks?
January 12, 2023, 09:50:59 AM
Loren,

Curious if you got anywhere with this as we are looking to possibly leverage Webhooks also.
#9
Programming / Re: Max variables in a program
November 10, 2022, 10:22:15 AM
Loren,

Well, that's why I had a "vague" memory - thanks!
#10
Programming / Max variables in a program
November 10, 2022, 09:33:27 AM
I'm getting an error 19 trying add some code into a program but I know it doesn't exceed max program size - I have a vague recollection that there is also a max # of discrete variables that be referenced within a single program - is that correct? I didn't see anything in the "system limits" section of the doc.
#11
Programming / Re: Embedded IO procs/RDB
August 15, 2022, 04:21:24 PM
Well, it wouldn't be the first time I made no sense  ;)
Although we do currently use embedded IO to facilitate replicating data to relational databases, that is governed by an on/off parameter within our software.
We would force that parameter "off" when using a prefix file so we can take advantage of the rest of the embedded IO logic.
We will just add it to the additional options on the conversion utility panel when updating the prefix file.

Thanks.
#12
Programming / Re: Embedded IO procs/RDB
August 15, 2022, 03:25:50 PM
Mike,
Thanks for the reply - I'll dig in a little deeper then. Related question, if I use the database conversion utility in the data dictionary to update a prefix file, will it include the IOPROG= option if the IO proc is specified in the data dictionary definition?
#13
Programming / Embedded IO procs/RDB
August 15, 2022, 02:59:01 PM
We have made significant use of embedded IO procedures with the native file set. As we look to extend to using RDBs (like MSSQL), how can we leverage those embedded IO procedures? I thought maybe using SETDEV(chan)PROGRAM "MYPROC" after opening a table on <chan> would enable us to use the existing IO procs but that doesn't seem to work. Do we have to create database triggers that replicate our embedded IO? (Not even sure how we would do that but just looking for a direction).
#14
iNomads / IIS / single port
April 27, 2022, 01:47:23 PM
I see in the iNomads documentation that the feature to only use a single launch port is not available when using IIS as the webserver.
Is that a permanent limitation due to the structure of IIS or something that could/will be available in a future iNomads release?
#15
To extract the value:
%inomads'url_arg$("id")