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.
Pages: [1]
1
Thin Client/WindX / Re: SSH Conection Keep alive
« on: November 01, 2023, 01:48:08 PM »
@JimGwynn
I issued the command: SET_PARAM '+A'=1
That works great for my Windx session. I don't get the long delays waiting to reconnect the session, if the session is left inactive for a while.
I don't think that setting would automatically apply to any "*VIEWER*" windows that get launched.
I had a couple (viewer) windows that were still timing out or had a delay in reconnecting.
Were you able to solve that issue also? How do I get the *VIEWER* windows to launch (generically) with that parameter set?
I see something in the documentation about "system parameters" in the "NOMADS" menu (Utilities, Application Parameter Configuration), but I'm not sure I understand how all that works, or if that's the correct place to put it.
I read that settings in an INI file used when stating PxPlus would also be used when launching *VIEWER* windows, but I don't see where a parameter like the '+A' parameter would be implemented in the INI file.
Otherwise, the *VIEWER* documentation (under "Special File Handling") shows 3 options, with options 2 & 3 appearing to allow passing parameters.
There's a -XT=1 reference on a command line used to launch/spawn a new pxplus session so I assume I could include a -+A=1 also? although I tried that on my Desktop Shortcut and it didn't seem to work. If it "should" work, it looks like I need to manage creating a unique SERIAL file and when "CLOSE"ing the serial file output using that file name in the CALL "Windx.utl;SPAWN" command. Seems like extra "make work" vs. an OPEN()"*VIEWER*" doing it for you somehow.
I issued the command: SET_PARAM '+A'=1
That works great for my Windx session. I don't get the long delays waiting to reconnect the session, if the session is left inactive for a while.
I don't think that setting would automatically apply to any "*VIEWER*" windows that get launched.
I had a couple (viewer) windows that were still timing out or had a delay in reconnecting.
Were you able to solve that issue also? How do I get the *VIEWER* windows to launch (generically) with that parameter set?
I see something in the documentation about "system parameters" in the "NOMADS" menu (Utilities, Application Parameter Configuration), but I'm not sure I understand how all that works, or if that's the correct place to put it.
I read that settings in an INI file used when stating PxPlus would also be used when launching *VIEWER* windows, but I don't see where a parameter like the '+A' parameter would be implemented in the INI file.
Otherwise, the *VIEWER* documentation (under "Special File Handling") shows 3 options, with options 2 & 3 appearing to allow passing parameters.
There's a -XT=1 reference on a command line used to launch/spawn a new pxplus session so I assume I could include a -+A=1 also? although I tried that on my Desktop Shortcut and it didn't seem to work. If it "should" work, it looks like I need to manage creating a unique SERIAL file and when "CLOSE"ing the serial file output using that file name in the CALL "Windx.utl;SPAWN" command. Seems like extra "make work" vs. an OPEN()"*VIEWER*" doing it for you somehow.
2
Programming / Re: Avalara Tax Integration
« on: July 19, 2023, 08:23:03 AM »
Thanks Stéphane for the sample code. I'm sure that will be a help.
3
Thin Client/WindX / Re: Error 15 occurred while connecting to Server: “192.168.238.10” on Socket “12000"
« on: July 17, 2023, 04:33:04 PM »
Michael,
Apologies for not replying earlier. Somehow didn't notice the follow up question.
This was on a V10 Windx E-Commerce license.
Apologies for not replying earlier. Somehow didn't notice the follow up question.
This was on a V10 Windx E-Commerce license.
4
Programming / Re: Avalara Tax Integration
« on: July 17, 2023, 02:42:33 PM »
Does anyone have "sample code" or "routines" developed that you would be willing to share?
I have a customer looking to integrate with Avalara. Any insights would be helpful.
I have a customer looking to integrate with Avalara. Any insights would be helpful.
5
Nomads / Field Count, Field Separators, Number of Fields
« on: December 04, 2022, 11:13:35 PM »
I had difficulty determining the Number of Fields (Field Separators) as defined by a file's internal Dictionary.
Here is the solution I came up with to determine the Number of Field Separators:
LET FCHN = HFN
OPEN INPUT (FCHN,IOL=*)"FILE"
!
LET FCNT = POS(SEP=REC(IOL(FCHN)),1,0) ; REM "---<<< Here's the code >>>
!
CLOSE (FCHN)
You could substitute $8A$ for SEP if that is required?
Use OPEN INPUT vs. OPEN, if doing an immediate CLOSE?
If issuing a DIM array definition, don't forget to reduce the number of array elements by 1, if your first ARRAY element starts at Zero (default).
DIM X$[10] Creates 11 element array with elements X$[0] thru X$[10]
DIM X$[0:10] Same as above
DIM X$[1:6] Creates 6 element array with elements X$[1] thru X$[6]
Here is the solution I came up with to determine the Number of Field Separators:
LET FCHN = HFN
OPEN INPUT (FCHN,IOL=*)"FILE"
!
LET FCNT = POS(SEP=REC(IOL(FCHN)),1,0) ; REM "---<<< Here's the code >>>
!
CLOSE (FCHN)
You could substitute $8A$ for SEP if that is required?
Use OPEN INPUT vs. OPEN, if doing an immediate CLOSE?
If issuing a DIM array definition, don't forget to reduce the number of array elements by 1, if your first ARRAY element starts at Zero (default).
DIM X$[10] Creates 11 element array with elements X$[0] thru X$[10]
DIM X$[0:10] Same as above
DIM X$[1:6] Creates 6 element array with elements X$[1] thru X$[6]
6
Off Topic / Re: AWS or other Hosted Server for production environment
« on: July 14, 2022, 03:22:52 AM »
Mike - Thanks for the feedback!
7
Off Topic / AWS or other Hosted Server for production environment
« on: July 13, 2022, 02:34:20 PM »
Does anyone have experience running a PxPlus production environment on AWS (or other)?
Would running an 8 - 20 user application using Windx (full accounting, customer management, manufacturing application) run well in that environment?
Would you recommend this for a client, rather than an on-site server?
Also curious about "cost estimates" for running a PxPlus production environment (multi-user) application via a Hosted Server service such as AWS. i.e. what are the monthly/annual costs of running a multi-user application on an AWS hosted server?
Looking for options to provide "always up" service to avoid down-time, especially when running in a small company.
Would running an 8 - 20 user application using Windx (full accounting, customer management, manufacturing application) run well in that environment?
Would you recommend this for a client, rather than an on-site server?
Also curious about "cost estimates" for running a PxPlus production environment (multi-user) application via a Hosted Server service such as AWS. i.e. what are the monthly/annual costs of running a multi-user application on an AWS hosted server?
Looking for options to provide "always up" service to avoid down-time, especially when running in a small company.
8
Programming / Re: Mobile application
« on: September 23, 2021, 04:15:35 PM »
On the https://demosite.pvxplus.com site, if you click on a customer to bring up the customer's details, then use the arrow/navigation keys to scroll through other customer records, the "email", "phone", and "website" info - they do not refresh.
Also, the https://testdrive.pvxplus.com link - it looks like it's being worked on?
-Pat
Also, the https://testdrive.pvxplus.com link - it looks like it's being worked on?
-Pat
9
Thin Client/WindX / Error 15 occurred while connecting to Server: “192.168.238.10” on Socket “12000"
« on: February 26, 2021, 04:24:36 PM »
Error (15) occurred while connecting to
Server: “192.168.238.10” on Socket “12000”
Linux / Appserv / Windx
After spending several long hours trying to figure out what the "network connection" issue was (it wasn't)...
I found that the "../lib/_appserv/sessions.pvk" file was corrupted.
I launched PxPlus from the command line and rebuilt the file.
Problem solved!
=====================================
# Login as root
umask 0
cd /pxplus/lib/_appserv
cp sessions.pvk sessions.bak
# start PXPlus from command line
/pxplus/pxplus
REFILE "sessions.pvk"
RELEASE
=====================================
Hope this helps someone if it happens to you. Took too long to find the problem!
Server: “192.168.238.10” on Socket “12000”
Linux / Appserv / Windx
After spending several long hours trying to figure out what the "network connection" issue was (it wasn't)...
I found that the "../lib/_appserv/sessions.pvk" file was corrupted.
I launched PxPlus from the command line and rebuilt the file.
Problem solved!
=====================================
# Login as root
umask 0
cd /pxplus/lib/_appserv
cp sessions.pvk sessions.bak
# start PXPlus from command line
/pxplus/pxplus
REFILE "sessions.pvk"
RELEASE
=====================================
Hope this helps someone if it happens to you. Took too long to find the problem!
Pages: [1]