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.


Topics - michaelgreer

Pages: [1] 2 3 4
1
Language / Dev Suite 2018 (v. 15) to 2022 (v. 19) enhancements
« on: February 16, 2024, 11:17:35 AM »
I have not found a place with a single overview of language enhancements (particularly security).  Are there documents that focus on this information which is otherwise scattered through the documentation.  Thanks!

2
Programming / Error 114 recovery
« on: January 16, 2024, 11:48:32 AM »
I have files which are showing error 114.  When I attempt to use *UFAR it complains about error 114 and won't proceed (I can check the file successfully).  Any insight on how to recover the data or fix the file is appreciated.

3
Language / 'picutre' mnemonic
« on: August 09, 2023, 03:12:45 PM »
Assuming a command like this: print 'picture'(10,10,200,200,"myfile.jpg")
Is there a way to have the image reside on the Windx client?  I have tried prefix the file name with windx and a full path - [wdx]c:\images\myfile.jpg, but to no avail.  Thanks!


4
Thin Client/WindX / Windx on a MAC
« on: July 14, 2023, 09:25:19 AM »
Customer wishing to access their PxPlus application running on a windows server from their Mac.  Any ideas on solutions here.

5
Thin Client/WindX / Server to Windx failure
« on: June 30, 2023, 10:56:28 AM »
I'm almost embarassed to post this as we are talking pvx 7.7, but here goes.  I customer is replacing their Redhat 5.7 server with a new Centos 7 server.  PVX seems to run fine, but any time it tries to do certain things via Windx, the session drops. So, this program will cause the issue on the write record:

0010 open (hfn,isz=-1)"/tmp/4586-1.out"; let IN=lfo
0015 let THIS_FILE$="[wdx]c:\infor\jmg.pdf"
0020 execute "[wdx]serial "+$22$+THIS_FILE$(6)+$22$
0025 open lock (hfn,isz=-1)THIS_FILE$; let OUT=lfo
0030 read record (IN,siz=512)XX$
0035 write record (OUT)XX$

If I change the IP address that the Windx client is using to be the old server, everything works.  Any insight here would be appreciated.

Thanks!  Michael

6
ODBC / ODBC on Redhat
« on: June 09, 2023, 01:19:07 PM »
This is configured for 64 bit on RH 7.9. unixODBC is installed.  If I do this:
[root@rhlinux etc]# /usr/pxpsqlodbc/pxpsql -d /facts93 LIST |grep AR_CUST
AR_CUST_BY_ALPHA
AR_CUST_BY_CLASS
AR_CUST_BY_CNTCT
AR_CUST_BY_DOC
AR_CUST_BY_PHONE
AR_CUST_BY_SLSP
AR_CUST_BY_ZIP
AR_CUST_CLASSES
AR_CUST_CLASSES_AKT
AR_CUST_CROSS_REF
AR_CUST_LDGCARDS
AR_CUST_MAST
AR_CUST_PRC_CLS
AR_CUSTOMER_HISTORY
AR_CUSTOMER_NOTES_A
AR_CUSTOMER_NOTES_B
AR_CUSTOMER_NOTES_C

You can see AR_CUST_MAST as a table. Good.  Now this:
[root@rhlinux etc]# /usr/pxpsqlodbc/pxpsql -d /facts/facts93 LIST table AR_CUST_MAST

ERROR: Invalid Table Name or No Columns Returned By LIST Columns Command.

Since (think) I know the table name is good, what would cause the column list to fail.  Providex.ddf shows the file, and the file has an embedded IO list (as well as an IO program, see attached.

Any insight appreciated. - Michael

7
Programming / Strange if then else behavior
« on: March 08, 2023, 09:00:05 AM »
This is an abstraction of a code issue we are seeing:
0005 let mike$="P"
0010 if mike$="P" then {
0015 print "Yes P"
0020  } else if mike$="T" then {
0025 print "Doing T too"
0030  }
If you execute this, you get both outputs when it seems you should not get the "Doing T too".  I realize this is not great coding (I didn't write it) but it seems it should work.

8
Language / TCP/IP address
« on: January 16, 2023, 05:06:04 PM »
Is there anything in the PxPlus environment that stores/returns the IP address of a telnet or raw tcp connection on a *nix box.  I can get the value from the telnet login but it is ugly.  Same thing with the mac address (parse arp -a).

9
Programming / Invoking an Android command
« on: December 29, 2022, 12:40:34 PM »
I have a customer running a character app on android over a telnet session.   They now would like to be able to launch a browser to a specific URL.  Has anyone found a telnet client or used some other connection method (javx?) to run a character app, but which would also support the url launch capability?

10
Thin Client/WindX / Automated Windx install
« on: November 11, 2022, 11:43:03 AM »
Is it possible to build an automated install for Windx that has an icon preconfigured with the targe, start in, etc. as well as a predefined install location?

11
Language / Error 15 in *plus/web/request
« on: September 27, 2022, 12:23:36 PM »
I have a customer running pxplus 12.50 on linux.  Linux is set to support TLS 1.2.  On a call to request I get the open to the web site for the API I am trying to access, but when PxPlus tries to write the body (r$) I am getting an error 15.  Ideas?  Thanks!

12
Language / Simple Client/Server lock up
« on: September 26, 2022, 12:49:12 PM »
PxPlus 15.1 running under windows.  Every so often (1 to 2 weeks) the cshost program refuses to spawn new sessions.  This means that no new users can connect to the app, an when our menu attempts to launch a function in a newly spawned session, that also fails.  Restarting the service (which in this particular instance is running under srvany) cures the issue.  Any insight here would be appreciated.

13
Nomads / Data dictionary maintenance error
« on: August 15, 2022, 01:04:00 PM »
In the process of maintaining a dictionary we attempt to add a new element.  When we click Ok we get an "Error Occurred processing: "PERFORM *dict\Element;OKY_BTN".  The program is there and the label is too.  Ideas on what would cause this.  It is PVX 11.5 running under linux.  If I exit Nomads I can "call" that routine with no issue.

14
Programming / Error 13 on [tcp] connection with secure
« on: July 29, 2022, 11:27:43 AM »
This is version 15.1.  When I attempt to use request the open on a website using ";secure" and port 443 I get an error 13. I can use postman and disable all but TLS 1.1 and I have no issue.  Thoughts on how I might get the open.

15
Language / Json element class
« on: July 12, 2022, 10:39:31 AM »
I am looping through a PO to build a json like this
po$["po.order_items.1.item"]="widget1"
po$["po.order_items.1.price"]="10.25"
po$["po.order_items.1.qty"]="2"

There could be anywhere between 1 and several hundred elements in the items array.  Oddly, I need to output price as a numeric ( but not quantity). Is there a way to do this without have to specify *every* price element in the "with num()" phrase?

Pages: [1] 2 3 4