Auto-Complete and RPGsp

Use this board to ask questions or have discussions with other Rich Displays users.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Auto-Complete and RPGsp

Post by Scott Klement »

Do you have errors being logged? If so, check out the /www/YOUR-INSTANCE/logs directory. Find the most recent error_log file and see what is causing the 500 error.
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Auto-Complete and RPGsp

Post by emhill »

Looks like I'm getting this:

ZSRV_MSG0109: /QSYS.LIB/ICSUI.LIB/icsprtcpl.pgm is not a cgi program: /QSYS.LIB/ICSUI.LIB/icsprtcpl.pgm
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Auto-Complete and RPGsp

Post by Scott Klement »

I'm not familiar with this error... I'm wondering, though, if this might be an Apache config problem?
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Auto-Complete and RPGsp

Post by emhill »

I've got my Apache and server expert taking a look here when he gets a minute. Will let you know what I find.

Thanks!
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Auto-Complete and RPGsp

Post by emhill »

Scott,

We are getting this error:

Cannot resolve to object PUIMSGR. Type and Subtype X'0203' Authority X'0000'.

We have PROFOUNDUI in the H spec BNDDIR:

H BNDDIR(''PROFOUNDUI')

Any ideas on this?

Thanks!!!!
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Auto-Complete and RPGsp

Post by Scott Klement »

That's strange. If you do a WRKOBJ *ALL/PUIMSGR, can you find a service program with that name? It should be in the library where Profound UI is installed ('PROFOUNDUI' by default, but you can change this when you install the product.) Make sure that library is in your library list.

There's a bit of a caveat, though. The service program is located immediately when your RPGsp page is started -- BEFORE your code is run. This means that adding the library via RPGsp's Library List functions, or via the SyncJob() call will not work. You need to have the Profound UI product library in your library list before the program is called.

One way to do this is by adding it via your Apache config (this is what I'd probably do.). Another (clumsier, imho) way is to have it run a CL program prior to your RPGsp program... the CL program could add the library to the library list, then call the RPGsp program.
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Auto-Complete and RPGsp

Post by emhill »

Yes...PUIMSGR is in PROFOUNDUI. We have tons of RPGsp programs in use and have not had this problem before. Mainly we use them for our select boxes. This is our first jump into the auto-complete world. I will check about the Apache config.

Thanks and I will let you know what I find.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Auto-Complete and RPGsp

Post by Scott Klement »

Yeah, that's why I thought it was strange. The use of PUIMSGR is the same for an autocomplete as it would be for a drop-down... so it's strange that you're getting this now. Why don't you always get it? There must be something different, here.
emhill
Experienced User
Posts: 116
Joined: Wed Sep 05, 2012 11:14 am
First Name: Eric
Last Name: Hill
Company Name: Integrated Corporate Solutions
Phone: 256-760-8239
Address 1: 501 S Wood Avenue
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Contact:

Re: Auto-Complete and RPGsp

Post by emhill »

Are you talking about the following about setting the library list via the Apache config? Our Apache guy found this and was curious if this is where we need to change the library list to include PROFOUNDUI:

http://www.profoundlogic.com/forum//vie ... &sk=t&sd=a

SetEnv QIBM_CGI_LIBRARY_LIST


Thanks!!!!!
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Auto-Complete and RPGsp

Post by Scott Klement »

Yes, that variable is how Apache can set the library list for you. (Though, the thread you pointed to is a rather strange one, since it's talking about Profound UI, which is a whole different animal.)

Here's a link that discusses it's use in Apache config a bit more:
http://archive.midrange.com/web400/200711/msg00001.html

I'm still very curious why this is happening here but not in your drop-downs. Are they using different Apache configurations or something?
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 7 guests