Omitting cat as a parm was the mistake I made and mentioned. All is means is that the date from the URL never reached the program - hence no results.

As to *Const - I have no idea why you had problems with it - it should have zero bearing on IWS - it is just used by the compiler - it may affect the PCML (not sure about that) but the only thing that would do is make the wizard only show you Input as an option instead of Input and Output.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jul 17, 2019, at 2:58 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

OK. The reason I noticed it is that this is in fact exactly one of the issues that baffled me for several days; for me, not having the input parm as "const messed everything up.

The other issue I saw but didn't mention is that you have the URL template as /cat/{cat} but cat is not listed as a parm. I would expect that to fail but I have never tried it so am on shaky ground with this comment.

On 7/17/2019 7:57 AM, Jon Paris wrote:
... The program is fine Booth and Const would make no difference. The effect of that is internal to RPG only. ...
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.