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 - James Zukowski

Pages: [1] 2 3 ... 7
1
Language / EXTRACT not locking?
« on: April 18, 2024, 02:32:03 PM »
We encountered an interesting situation and could use some clarity and/or confirmation.

Using a Linux server (RHEL 7.9) with PxPlus v15.1 via WindX we open a test file and EXTRACT a record. In another session, open the same file and READ the record. No Error 0.

Upon closer examination, we noticed the Linux file permissions were "-rw-r--r--" and the file was "owned" by a different username. When we changed the permissions to "-rw-rw-rw-", the EXTRACT/READ above worked as expected.

So, it seems that an EXTRACT on a file where a WRITE cannot actually happen is treated as a READ, even though everything, including FIN(ch,"Extract"), suggests the EXTRACT really happened. Except it didn't.

Is this proper? Or is there something missing along the way?

Any guidance would be greatly appreciated.

Thanks!

2
Nomads / Panel Startup Timing
« on: April 05, 2024, 11:19:45 AM »
Until I started here a couple of years ago, the NOMADS panels that were being used were being SPAWNed as separate processes off our menus. Since that would allow for multiple 'sessions' using the same FID(0), it also led to occasional file conflict problems. We've been working to remove the SPAWNing part of the sequence and just have the menu PROCESS the panel directly after hiding itself ['show'(-1)]. With a little work to undo some of the added 'hooks' for the SPAWNing, this works pretty well.
The problem we're running into is timing. When the panel was SPAWNed, it loaded and displayed VERY quickly. However, directly PROCESSing the panel generally takes quite a bit longer, sometimes 6-8 seconds or more compared to the 0-2 seconds previously. And it doesn't necessarily correlate with the number of controls on the panel. Perhaps it can sometimes be chalked up to server utilization, but it seems to be a pretty consistent differential.
We're running RHEL 7.9 (64-bit) with PxPlus v15.1 and WindX via VPN. Most of the client PCs have been upgraded from Win 10 to Win 11.
After the latest wave of updates, we're starting to get some clear complaints about this. Any suggestions would be greatly appreciated.
Thanks, all!

3
Language / Different Listbox Row Heights with Accented Characters
« on: March 14, 2024, 02:21:04 PM »
We have a Report View listbox with 4 text lines per entry. When we include accented characters as part of a line, it breaks the line and we now have 5 text lines (see attached). If I translate the accented characters into un-accented characters, it's back to being a 4-line entry.

Is there an option I'm missing somewhere? Is this something with Windows or PxPlus and listboxes?

Suggestions welcome.

4
Language / ESCape key trapping
« on: January 24, 2024, 04:10:42 PM »
We're starting to get new people using our application, and instead of using the F-keys we display, they'll use then ESCape key. Normally, we wouldn't expect any problems, but it seems that PxPlus maps then ESCape key to ctl=4 (F4 key) by default. Is this correct? Or was there a change a while back? Or am I missing a parameter setting?

I've changed 'my' keyboard configuration to have ESC return $1B$ and it works as expected.

BTW, the example program for 'Format 3' on the SETESC page does not work exactly as described in the table.

5
Language / Track Single- and Double-Click in Report View
« on: November 06, 2023, 10:46:43 AM »
Is it possible to get both a single and double click in a Report View listbox? I've been able to get the single by setting Signal All Changes, but when I do that, I can't double-click; it always responds as if it's a single click. When I don't set it, I can get the double but not the single.
Any ideas?

6
Nomads / Dependencies Doubling with Embedded Panels?
« on: November 03, 2023, 02:39:15 PM »
We've got a panel with a TitleBar, an embedded panel, and several other controls. The TitleBar has 1 dependency, the embedded panel has 2, and there is one for one of the buttons on the panel. We had some timing issues with this, and I had previously had some duplicated entries, but those have been removed, so we're down to what I've listed.

I set up a trace file, and it looks like all of the dependencies for the TitleBar and embedded panel are processed twice for each cycle, while the panel button's dependency is only processed once.

Also, if the panel is set up as Resizable/Custom (the original plan), all of those dependencies seem to be re-doubled. It's as if the setup procedure is called multiple times and/or the counter is not reset to 0.

Is there something I should/not be doing?

(PxPlus v15 on Linux)

7
Nomads / Auto-Complete not setting kno
« on: November 02, 2023, 10:00:28 AM »
We've got a file with keys defined as:

External key size ............: 6
Alt. key 1 ...................: [7:1:10]+[1:1:6]
Alt. key 2 ...................: [12:1:8]+[1:1:6]
Alt. key 3 ...................: ["ADDRESS1":3:1:30]

When creating an Auto-Complete definition for Alt. key 3, there seems to be a problem. When I set the "Key Name/Number" field to 3, all is well. But when I set it to "ADDRESS1" (with or without quotes), the auto-complete doesn't work; it operates as a standard multi-line.

Is there something I'm missing?

(PxPlus v15.1 on Linux)

8
Web Services / REST problems
« on: September 27, 2023, 10:44:08 AM »
I've been wracking my brain trying to figure out what's going on, with only minor insights. It doesn't help that I don't really have any REST interfacing experience.

We're trying to connect with a service for address validations. There are two steps involved: (1) Get an oauth2 token from them, then (2) submit the actual request using the token. I haven't been able to get to step 2 because of failures in step 1.

Working with someone else in the company, we were able to get a curl command to work:

Code: [Select]
curl --location 'https://example.com/oauth2/vn/token' --header 'Content-Type: application/json' --data '{ "client_id": "xxxxxxxxxxxx", "grant_type": "client_credentials", "scopes": "urn:tr:onesource:auth:api:IndirectTaxDetermination", "client_secret": "xxxxxxxxxxx" }' > /tmp/result.txt
But running the related information through the *plus/web/request, I was ALWAYS receiving a 400 error in response. (Actually, I had to make some adjustments, since it always added ";secure" to the OPEN, and that generated a PxPlus error.) Apparently, we need to be able to submit the request down at the "token" page level, but the *plus/web/request breaks that up, and PxPlus won't accept a filename beyond the primary site (.com).

I would like to keep all of the programming within PxPlus, but if I need to curl things to get them to work, it's what I'll have to do. Any suggestions would be greatly appreciated.

Currently running v15 (2018) with WindX on Linux.

9
Off Topic / OneSource Integration
« on: September 19, 2023, 01:13:22 PM »
Hi All!
Has anyone had any experience interfacing PxPlus with Thomson Reuters OneSource for Address Validation? I've been stumbling a little and was wondering if anyone has any pointers.

Thanks in advance!

10
Off Topic / New Posts on the Forum
« on: September 05, 2023, 03:34:10 PM »
It seems that when we try to post a new topic on the Forum, it takes quite a while before an error is returned that isn't really an error. The message actually gets posted but the error message says not. As a result, several people (including myself early on) have posted the topic again, only to find it creates a second entry.

Is there any way to get this cleared up?

11
Language / 'DROP' mnemonic with ERR= clause
« on: September 05, 2023, 12:04:38 PM »
Is including an ERR= clause in the 'DROP' mnemonic a valid construct? e.g.:
print 'drop'(Win_Num,err=*next),
It doesn't generate an error, but it also doesn't seem to trap error #57 if the specified (non-zero) window# doesn't exist.
Any insights?

12
Web Services / Google Maps
« on: July 13, 2023, 05:49:11 PM »
It seems that the Google Maps object is only usable within Nomads. We're looking into using the GeoCode functionality to verify addresses being entered in various application programs. Is there a way to do that with the current object? Is there something else we can use? Do we need to develop something ourselves?

Thanks!

13
Nomads / Popup menu missing the target
« on: June 28, 2023, 05:40:29 PM »
We've got a F/M panel with a menu bar, TitleBar, and 7-tab folder. I'm trying to have a popup menu with variable file-driven data appear in most situations when the user tabs out of a specific field. I've got most of the positioning down, but while the control's 'Col and 'Line positions seem to reflect the accurate position relative to the window, when we apply those coordinates to the popup_menu directive, they seem to try to position the popup relative to the folder's sub-panel. As a result, the popup appear several lines below the control it's supposed to be associated with. I've been able to compensate a bit by subtracting the sub-panel's 'Col and 'Line positions, but that doesn't seem to take into account the TitleBar or menu bar.

Is this a problem with the window building process, or do I need to do these compensations, and how do I determine the heights of the bars?

Thanks in advance!

14
Nomads / Different Font Sizes on Panel
« on: June 06, 2023, 02:58:49 PM »
I'm updating a panel that has single-line multi_lines and multiple-line multi_lines. The fonts are different sizes: the multiple-line entries' fonts are 1/6 larger than the single-line entries (see attached snip). All of the font info and attributes are the same.

As a test, I shrank a multiple-line entry to 1 line and the font became the smaller size.

Anyone have any ideas?

Thanks, all!

15
Nomads / Auto Complete not working in multiple sessions?
« on: June 05, 2023, 01:56:47 PM »
While testing an update to a panel, I opened the old version in one session and the new version in a second session on the same workstation. Whichever session I first access for the autocomplete seems to lock out the other session; it's still a multi-line, but doesn't create the auto-complete drop-down.
Is there something I'm missing/not setting up? Any suggestions welcome.

Pages: [1] 2 3 ... 7