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 - Jim Morton

Pages: [1]
1
Language / Parameter 'TJ' limit
« on: September 20, 2023, 08:08:49 AM »
I'm using the 'TJ' parameter to troubleshoot an intermittent issue and found that a setting of over 10000 causes an error 41.

1}set_param 'tj'=10000
1}set_param 'tj'=10001
Error #41: Invalid integer encountered (range error or non-integer)
1}

Will you please update the manual to show this limit?

2
Programming / Re: performance of select record
« on: August 24, 2023, 11:16:03 AM »
In your read loop were you using "read record" or an iolist?
Just making sure you are comparing apples to apples.
I have noticed that read/select record into a string template is a bit slower than read/select using an iolist. 

3
Programming / Re: need to skip the passworded programs
« on: August 18, 2023, 01:59:45 PM »
I thought I'd seen that test somewhere but could not find it.
Thanks Ken!

4
Programming / need to skip the passworded programs
« on: August 18, 2023, 01:14:40 PM »
How can I programmatically tell if a program is passworded?
I have a process that copies all programs and I need to skip the passworded ones since *ufc errors on them.
fin() and fib() don't seem to hold that info.

TIA

5
Programming / Re: Create an Excel file in Linux environment
« on: August 10, 2023, 01:19:38 PM »
Thank you Loren!

6
Programming / Create an Excel file in Linux environment
« on: August 10, 2023, 07:26:20 AM »
Is it possible to create a .xlsx file (not .csv) in a Linux environment only. There is no access to Windows or Excel or even a machine running those. First choice would be to use only pxplus, next best would be to look for some java that might have that capability.

Just wondering if anyone else has tackled this challenge.

7
Programming / Re: VLR File sizes and BSZ setting
« on: January 21, 2022, 02:30:04 PM »
Aha. I need to update my notes to include the XK parameter.
Thanks for the explanation!

Maybe the online manual under system limits should be updated to include how BSZ and 'XK' parameter affect file size limits...

8
Programming / VLR File sizes and BSZ setting
« on: January 21, 2022, 10:24:35 AM »
For VLR files I have a note of the following file size limitations.
BSZ values and files sizes for VLR files
0=2GB, 4=8GB, 8=65GB, 12=98GB

Yet we have a VLR file where BSZ=4 and it is 28GB.
Are my notes wrong?
This is what I'm seeing:
 -}end
 -}delete
 -}?prm('MB')
  0
 -}?fin("/facts93/data/GL/GLYJNL","FILE_CREATE")
 KEYED "/facts93/data/GL/GLYJNL",[1:1:2]+[2:1:4]+[3:1:4]+[4:1:4]+[5:1:5],[1:1:2]+[2:1:4]+[6:1:10]+[3:1:4]+[4:1:4]+[5:1:5],[1:1:2]+[2:1:4
 ]+[3:1:4]+[4:1:4]+[9:1:5],[1:1:2]+[2:1:4]+[3:1:4]+[8:1:45]+[4:1:4]+[5:1:5],[1:1:2]+[6:1:10]+[2:1:4]+[3:1:4]+[4:1:4]+[5:1:5],[1:1:2]+[2:
 1:4]+[3:1:4]+[6:1:10]+[4:1:4]+[5:1:5],[1:1:2]+[2:1:4]+[3:1:4]+[4:1:4]+[6:1:10]+[5:1:5],[1:1:2]+[10:1:3]+[11:1:6:"D"]+[2:1:4]+[3:1:4]+[4
 :1:4]+[5:1:5],0,-768,BSZ=4,OPT="0"
 -}

> pwd
> /facts93/data/GL
> ls -l -h GLYJNL
-rw-r--r--. 1 facts facts 28G Dec 14 14:42 GLYJNL

So what gives???  :)

BTW: The online documentation still shows the max file size for Pvx data files as 2GB with a note about the 'MB' param. I believe that limitation was removed some versions back.



9
Registration and Setup / PxBasic
« on: January 13, 2022, 01:47:28 PM »
Are there plans to update PxBasic? I notice the download is about 10 years old. Does it even run on Windows 11?
This would be for personal, non-commercial use.

10
Programming / Re: XCOPY
« on: July 02, 2020, 01:12:50 PM »
Have you tried robocopy? It has a wealth of switches that will likely do what you want. Check /z or /b or /zb. More info on available switches can be found here https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy

11
Programming / Re: error 288
« on: June 24, 2020, 07:58:00 AM »
I recently ran into an intermittent err 288 issue printing on a Linux server when the report took a very long time to run. Turned out that CUPS was closing the printer due to an inactivity setting. When Pxplus tried to print to the channel it got the 288 broken pipe error. I believe CUPS was set at a default timeout of 300 seconds (5 minutes.) The solution (in my case) was to edit /etc/cups/cupsd.conf and add
Timeout 1800
to change it to 30 minutes.

12
Web Services / Re: using *web/email for smtp.office365.com
« on: April 04, 2019, 11:28:56 AM »
Here is a site for checking SMTP settings and trying various combinations to find something that works.

https://www.smtper.net/

This has been a great troubleshooting tool for me.

Jim Morton

Pages: [1]