PxPlus User Forum

Twitter Twitter Twitter

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.


Messages - ChrisKCAi

Pages: [1] 2 3
1
Language / Re: Detecting a CALL
« on: 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.

2
Language / Re: Detecting a CALL
« on: 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.

3
Language / Detecting a CALL
« on: 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!

4
Programming / Re: Anyone using webhooks?
« on: January 12, 2023, 09:50:59 AM »
Loren,

Curious if you got anywhere with this as we are looking to possibly leverage Webhooks also.

5
Programming / Re: Max variables in a program
« on: November 10, 2022, 10:22:15 AM »
Loren,

Well, that's why I had a "vague" memory - thanks!

6
Programming / Max variables in a program
« on: 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.

7
Programming / Re: Embedded IO procs/RDB
« on: 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.

8
Programming / Re: Embedded IO procs/RDB
« on: 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?

9
Programming / Embedded IO procs/RDB
« on: 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).

10
iNomads / IIS / single port
« on: 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?

11
iNomads / Re: how to extract a value passed in the url
« on: April 01, 2022, 10:27:34 AM »
To extract the value:
%inomads'url_arg$("id")

12
Nomads / Re: Classic Query
« on: December 10, 2021, 10:32:19 AM »

13
Nomads / Re: Using %Nomads'Timeout for Dynamic Refresh
« on: June 08, 2021, 07:45:23 AM »
Before the return in your ON_EXIT routine:
if ctl=-1900 then let IGNORE_EXIT=1

Chris

14
Programming / Re: *web/email error message (0/117)
« on: May 17, 2021, 04:14:22 PM »
For completeness, as Mike suggested, it is IPV4ONLY=1 (my previous post had originally left out the '4')

15
Programming / Re: *web/email error message (0/117)
« on: May 17, 2021, 04:12:54 PM »
Mike,

Yep, setting IPV4ONLY=1 does the trick and let's me supply the server name to *web/email as opposed to the IP address.

Thanks,

Chris

Pages: [1] 2 3