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

Topics - James Zukowski

#41
Programming / Different Font sizes?
March 02, 2022, 06:02:53 PM
After our application starts, I've noticed that the Font reported with fin(0,"Font") [Lucida Console,-19] is different from the font listed on the WindX icon's font info [Lucida Console / Regular / 14]. Any idea what would cause this discrepancy? It seems to affect some of our Nomads panels.
All of the pvx.ini and pxplus.ini files I've seen on the server and my PC report no specific size, or a size of 19pt.

Thanks, all!
#42
After a little Thoroughbred with MAS90 over 30 years ago, I've been dealing with BBx, ProvideX, and a lot of PxPlus over the past 20+ years. Extensive experience with Infor FACTS, but also very knowledgeable with NOMADS and adaptable to home-grown systems, including conversions between languages and from CUI to GUI.

If you would like me to help fulfill your programming/analysis needs, please contact me via PM and we can see how we fit.
#43
Is there a way to open an Excel workbook on a file channel while it's being processed with *obj/excel? I get an Error #12 even if the workbook is being accessed via 'OpenWorkbook().
Conversely, if I open the workbook as a file first, I can still get to it through *obj/excel. Which is OK, if the workbook already exists. But if I need to 'CreateWorkbook(), there's a bit of a problem.
This doesn't seem to be a problem if the workbook is opened directly in Excel.
#44
Language / Program Size limitation?
September 28, 2021, 02:10:34 PM
We're still upgrading many of the program from our legacy system which uses explicit IOLISTs in the programs. As we update file definitions in Nomads, we also need to update some of these IOLISTs. To help, we've got a program that runs through the Nomads Data Dictionary and creates an IOLIST statement for the defined files, including non-normalized variants. These are loaded out to a line-numbered text file, then run through "*pg.cnv" to convert to a tokenized program.

Trying to run it today, I get an Error #19: Program size too large. The program itself is only about 74K. But is there a limit on the number of variables or the size of the variable table? From what I see, we've got about 3200 different variable names defined in the program (before it stopped accepting more). The program itself consists of !Comments and IOLISTs.

Any insights would be appreciated. Thank you!
#45
Nomads / Enter Key in Grid
September 16, 2021, 05:21:18 PM
I've got a grid with all cells locked except for 2 non-adjacent columns. If I change a value and Tab out, it moves to the next cell. If I don't change the value and Tab or Enter, it moves to the next cell. But if I change a value and Enter out, it ALWAYS moves to the next control, not the next cell in the grid. I've set the 'TabMode and 'EnterMode properties' values to everything, but it's still the same.
Also, %Nomads'Enter_Tab=1.
Am I missing something? I'd like the Enter on a changed cell in a grid to work the same as a Tab.
#46
I've got a file with a secondary key of:
PO_Date/d + PO_Num + Cust + ShipTo + Seq

I can read directly through the file with no problems. But if I want to grab the first entry in a group and skip the rest of the Seq values, I issue:
read (F,key=PO_Date$:PO_Num$:Cust$:ShipTo$:$FF$)

It always goes to the end of file at this point. The file is created properly, with the first field descending and the remaining ascending. Am I missing something?

Thanks, all!
#47
When defining arrays in the Data Dictionary, the field "number" on the main grid doesn't reflect the number of entries in the array (it only counts 1), whereas a single variable with multiple fields will adjust the count for all of them. When printing the formats, however, the field count is represented properly in both cases.

I'm thinking this is just an oversight, but wanted to be sure I'm not missing something.

Thank you!
#48
Language / CREATE FILE from *memory*
April 15, 2021, 12:00:27 PM
I'm creating a temporary text file so it can be completely done before dropping it into the final destination directory for export. This time, I'm printing the lines to a *memory* file. However, when I try:

create file OFile$ from (OFile)

to create the disk file from the memory file, it throws Error #13. Is this appropriate? Do I have to create a REAL file to be copied?

Thanks in advance!
#49
Language / Directory +INFO
April 08, 2021, 04:38:10 PM
According to the documentation, we can get detailed file information by opening a directory with opt="+INFO". This provides:

  • File name
  • File type ("F" for file, "D" for directory)
  • File size in bytes
  • Date created
  • Date last modified
  • Date last accessed
I'm presuming this is the order the data comes back in. If that's the case, how can I get a Creation date that's after the Last Modified date?

Thanks for any clarifications.
#50
Language / PGM() with Labels
April 02, 2021, 06:42:31 PM
It seems like the pgm() function only allows a line NUMBER for a statement reference, not a LABEL.
It also seems like it's the only operation in PxPlus (besides AUTO) that requires a line number and will not permit a label.
Does anyone know if this will ever change? Or does anyone knows a simple way to retrieve a line based on the label, rather than the number, without actually scanning through the program (which I can do but prefer not)?

Thanks in advance!

Stay safe out there!
#51
Thin Client/WindX / Client-side FID(0)
January 12, 2021, 03:55:56 PM
Is there a way, other than AUTOEXEC.BAT or PxPlus.ini, to set the value of FID(0) on the client before establishing a WindX connection through SimpleCS using .windx files?

Thanks in advance!
#52
Off Topic / 2021
January 04, 2021, 02:22:21 PM
 ;D Welcome to 2021! ;D

It looks like we all survived 2020. Congratulations!

Let's have an outstanding and prosperous year!

#53
Thin Client/WindX / Auth Failure error
December 17, 2020, 11:33:19 AM
We've just upgraded from v13.10 to v17.10 (YAY!). We created a process to go through to update all of our client PCs at locations around the country. Installations ran fine.
Until this particular laptop.
I went through the usual routine, but when I got to the point of testing the connection, I got an Error 61 (see attached). I tried uninstalling/reinstalling, to no avail. Looking through other posts, I tried to access WindX Security from the underlying PxPlus window, but it's not there to reset.
Does anyone have any suggestions?
Thanks in advance!
#54
Nomads / Drop_Box not Auto-Signalling
December 10, 2020, 01:35:12 PM
We're upgrading from v13.10 to v17.10. Our standard printer selection window has several DROP_BOXes on it. They are marked with "Signal on Exit" and "Automatic (Signal All Changes)". On v13.10, when a key is pressed to select an option, the on-Select Logic is triggered. Not so on v17.10. We have to actually exit the control. Has there been a change? Is there a setting I'm missing?
Thanks, all!
#55
Programming / Text Viewer
December 01, 2020, 06:54:32 PM
Since migrating from BBx a couple of years ago, the users on the system love the Viewer. However, they hate that they can't copy text from the viewer to paste into Excel, Word, whatever.

Does anyone have any insights into a text-oriented Viewer alternative that would allow that? Currently, we're only outputting basic text (with some occasional bold modifiers); no 'text' or other mnemonics.

Thanks, all!
#56
Registration and Setup / WindX Version
October 15, 2020, 12:50:40 PM
We're upgrading from PxPlus v13.10 on Linux Redhat 5 to v17 (with a temporary serial#) on Redhat 7, which is on a completely new server. On my client PC, I've got WindX clients installed for v14.00.0001, 15.00.0000, and 17.00.0000. I'm connecting to the new server using SimpleCS through a .windx file. When I check tcb(88), I get 13, not 17.
Any ideas?
Thanks!
#57
Nomads / Excluding a Tab from a Folder Programmatically
October 14, 2020, 06:16:29 PM
Is there a way to prevent a tab on a folder from being created based on Pre-Display factors? Example: Prevent the tab from being created based on whether contingent files exist. If the file(s) exist, create the tab, else skip it.
Thanks!

v13.10 almost on v17
Linux RH
#58
Registration and Setup / Link File Extensions
September 09, 2020, 06:01:19 PM
I noticed the manual page on Link File Extensions that may help us in future upgrades. We're in the process of a big upgrade from v13 (*nthost/*ntslave) to v17 (SimpleCS), with a server simultaneous upgrade. Having about 100 user PCs across the country, we'd like to minimize the manual intervention needed, at least in the future.

Has anyone used this feature? Does is work well for you? The page also mentions the WindX Connection Manager, with a link to usage instructions, but I don't see how to launch it. Pointers?

Thanks all!
#59
Programming / Piped character count
September 03, 2020, 02:51:17 PM
While we can get where we are when outputing to a serial file by checking KEC() for the file, is there a way to determine how many characters have been sent to a piped channel? If I open (ch)"|process_prog...", can I know how much went out before I close (ch)?

Thanks!
#60
Nomads / Upgrading
September 01, 2020, 11:29:59 AM
We're (finally!) upgrading our system from PxPlus v13 to v17. Much of what we have is still legacy character-based. However, the panels we have developed seem to throw Error #88 most of the time. I know there were some changes over the versions. Is there something we need to do to get things working right?