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 - pwhirley

Pages: [1] 2
1
Programming / Re: Source code formatter
« on: Today at 10:56:24 AM »
Thanks for the input.
I have not used line numbers in my code in many years, so changing line numbers doesn't bother me at all.  I also haven't used ED+ in many years, but I'll check it out and see if I can make use of it.  I really don't want to have to load individual programs to reformat them.  I would prefer to be able to process a whole folder full of source text at once.

Josh, you might want to check out the Eclipse plug-in.  Notepad++ is a good editor, but Eclipse is a full-featured integrated development environment which you can use at no cost.  With the plug-ins available (https://eclipse.sagemas.com) you get a decent editor and the ability to decompile programs, recompile with error flagging, a to-do list, very sophisticated search tool, integration to SVN or Git and much more.  You can automatically save your programs, classes and libraries to multiple locations such as a project space and a test system.

I'll let y'all know if I write something to format or if I figure out how to automate the existing ED+ tool.

Phil

2
Programming / Source code formatter
« on: May 01, 2024, 05:03:09 PM »
Has anyone out there written a source code formatter for PXPlus programs?  I use Eclipse with a plug-in developed and maintained by Fred McGuirk.  It does a great job of decompiling PXPlus programs into text source, but it does not attempt to do any pretty formatting.  I am considering writing a tool to do the formatting (i.e. remove LET, replace "THEN" with "{", indent IF and loop constructs, etc).  I don't want to write it if someone else has already done so.

Phil

3
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 14, 2024, 08:09:02 PM »
Thank you Jane!

I thought I had already replied to your post, but I don't see it.
I think the *plus/proj/pxpnl program looks promising to come up with a more readable comparison.  Thank you for the suggestion.

Phil

4
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 14, 2024, 09:09:29 AM »
Thanks Mike and Stéphane,

I've written a quick and ugly XML conversion which is adequate, but I may look at the other option to make something prettier.  The way it's working now, I can easily see if the compared libraries have been changed, but identifying the changes adequately requires me to go back to NOMADS utilities.  Using the SVN utility may well work better, though it means another folder level.  However, that will help narrow down exactly where the change is, which should make things more efficient.

I know the NOMADS library IOLIST doesn't change very often, but grabbing the IOLIST from the object will insure that I get the correct columns for the version I'm working with.  That will be better.

Phil

5
Nomads / Re: Convert NOMADS file to XML (need IOLIST)
« on: March 13, 2024, 03:37:34 PM »
Thanks Loren!  That looks familiar. - Phil

6
Nomads / Convert NOMADS file to XML (need IOLIST)
« on: March 13, 2024, 03:13:51 PM »
I am writing a utility to convert PVXPlus program and library files to text so that Beyond Compare (a compare utility from Scooter Software) can easily spot changes.  Converting the program to text is easy and done.  I've decided to convert the NOMADS library files to XML.  I can do this with made-up column names (i.e. Field1, Field2, etc), but I'd rather have the meaningful names that go with the columns.

Have any of you already written a conversion of NOMADS library files to XML that you'd be willing to share?

Where would I find the IOLIST for a NOMADS library file?

Thanks - Phil

P.S. I'll be happy to share my conversion program and the Beyond Compare configuration to anyone interested.  It's quite useful.

7
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 08, 2024, 08:27:01 AM »
Thanks Mike,
That's too easy.  :-)

The piece I was missing is the %Content-type$ global variable.  I'm sure there are many other variables used by the web engine that I don't know about.

I appreciate the help.

- Phil

8
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 07, 2024, 06:21:11 PM »
Well, Mike.  I'm sure I'm doing something wrong.  I've tried using an HTML format with <head> and <body> putting the content-type: application/pdf and content-size in the <head> and the binary in the <body>.  I've also tried an HTTP POST format, which I've never used to send *to* a web browser.  Neither one worked. 

I've also tried using <embed>, <object> and <img> with encoding/decoding the pdf data.

What format should I be using?  I'm testing with just the web engine directly.  Eventually I'll probably be using IIS or Apache, but those aren't set up to use, yet.  I've never used the web engine except with iNOMADS, Webster+ and the old Sage 100 eBusiness stuff.

- Phil

9
Web Services / Re: Publishing a PDF through PXPlus web engine
« on: March 06, 2024, 04:07:29 PM »
Thanks Mike,
I think that the application/pdf might well work.  I'm not sure why I didn't think of that.  It should work fine with the IIS front end, I believe.

I appreciate the quick response.  I hope you're enjoying retirement as much as I am.  :-)

Phil

Philip Whirley
phil@whirley.org

10
Web Services / Publishing a PDF through PXPlus web engine
« on: March 06, 2024, 02:30:45 PM »
I need to create a label of a specific size, format, font, etc and present it to be printed on the website.  The PVXPlus web engine will be running on one server and the website is on another server.  The website host will not have access to the folders for the application. The only access is through the web engine.

I'm using the *PDF* special file to create the PDF, but I do not know how to get the web server to publish that back to the website.  I'm sure it's simple.

Thanks - Phil

11
iNomads / Re: %inomads'upload_file() times out
« on: July 08, 2022, 01:24:25 PM »
Thanks!   This worked.
I put SET_PARAM 'IZ' in my START_UP and it solved the problem.  Is there another place that is preferable to set the parameter?
 - Phil

12
iNomads / %inomads'upload_file() times out
« on: July 07, 2022, 09:23:09 PM »
Is there a limit to the size file the %inomads'upload_file() function can handle?  I've got my upload working well with small files.  I've tested with 2K file size with success.   The actual files the user will be uploading are generally 22-25MB Excel files.  This does not seem to be a very large file, considering that the upload attempts are either on the same server where EZWEB and iNOMADS are running or are connected with a 300Mb connection.  Whenever I try the larger file it sits for a long time then says that it cannot make a connection.  I then find that EZWEB is no longer running and I have to restart it.
Any idea what might be happening here or where I can begin to look for a cause.  The weird part, to me, is that the issues seems to kill EZWEB.

The server is Windows running PXPlus 2021 Web. 

Thanks!  - Phil

13
Web Services / EZWeb /ShutDown?xxxxxxx-yyyyyyyy not found
« on: January 29, 2022, 09:46:47 AM »
I'm running latest version of PVXPlus with both Pro and Wayfarer licenses, installed in separate folders.  I'm running the EZWeb server from the Wayfarer instance and it's all working well, except that I cannot use the ShutDown directive from a web browser. 
When I try
http://localhost:8758/ShutDown?taskuser-xxxxxx
I get the response:
[font=courier]Not Found
The requested URL /ShutDown can not be provided by this server.
[/font]

I've tried all sorts of variations with no success.  The documentation says to use the 8 digit serial number, but my serial numbers are all 6 digits, unless I use the SSN value, in which case they are much longer.  I get the feeling that I'm missing something.  Since EZWeb is being started in background from task scheduler, I cannot use the system tray to shut it down, so I end up have to kill the process on the server.

Thanks for any help!

- Phil

14
Registration and Setup / Re: License seats requirement calculation
« on: January 07, 2022, 04:31:08 PM »
Thanks Mike,
I believe that answers my questions.
Phil

15
Registration and Setup / License seats requirement calculation
« on: January 07, 2022, 03:28:50 PM »
I'm trying to determine how many licenses of which type to purchase, but am not sure how they are consumed.

We have multiple processes that run from Task Scheduler every day.  They are all started on the server and run as the same user.  I believe these will altogether use 1 license.

We have iNOMADS running from IIS.  The usage is very light, typically only one person logs on to the website at a time.  I think this will use 2 wayfarer licenses.  At what point do we need to bump up the number of Wayfarer licenses? Is it just a matter of of performance because a single license can only handle one task at a time?

Right now we're using Pro licenses for development and to run the scheduled tasks, but we do not use PVXPlus SQL nor ODBC, so I think we can accomplish the same thing with Base licenses.  Is there a way to determine exactly what features we will loses if we move to Base licenses instead of Pro?  Will the Base license support the Wayfarer licenses running iNOMADS?

Thanks - Phil

Pages: [1] 2