× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Just a quick guess, but as the errors are all in upper case did you
remember in the RPG prototypes to extproc('QzhbAddGroupToList')?


                                                                           
             "Simon Perez"                                                 
             <s.perez@xxxxxxxx                                             
             a>                                                         To 
             Sent by:                  <midrange-l@xxxxxxxxxxxx>           
             midrange-l-bounce                                          cc 
             s@xxxxxxxxxxxx                                                
                                                                   Subject 
                                       Re: Question on QHTTPSVR/QZHBCONF   
             03/29/2004 09:24          service program definition          
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             Midrange Systems                                              
                 Technical                                                 
                Discussion                                                 
                                                                           
                                                                           




Thanks to those who already answered.

Carsten & Bruce: I am aware of the existence of the C include file but I
don't see what I could do with it. It does define the prototypes in C, but
when I use those procedures definition from an RPG pgm, I get this error:

CRTPGM PGM(TOBJ/UPDGRPF) BNDSRVPGM(QHTTPSVR/QZHBCONF)
Definition not found for symbol 'QZHBADDGROUPTOLIST'.
Definition not found for symbol 'QZHBCLOSEGROUPLIST'.
Definition not found for symbol 'QZHBFINDGROUPINLIST'.
Definition not found for symbol 'QZHBGETGROUPNAME'.
Definition not found for symbol 'QZHBGETNEXTGROUP'.
Definition not found for symbol 'QZHBOPENGROUPLIST'.
Definition not found for symbol 'QZHBREMOVEGROUPFROMLIST'.
Program UPDGRPF not created.

The only indication/instructions I could ever find in the "Information
center" about the QZHBCONF usage was this sentence:
"The group file APIs are in *SRVPGM QZHBCONF in library QHTTPSVR. ILE C
programs must include header file QHTTPSVR/H(QZHBCONF)."

Btw, I am reluctant to rewrite a program by my own when one already exists,
and an official one made by IBM that is. Why reinvent the wheel :-). My
other consideration is that, if IBM ever decides to change something to
those API's, using the service program would probably save me from updating
one that I would've done myself. Believe me, I am not only being lazy. I've
just finished writing 2 programs using validation lists API (one using the
RPG API's and the other using the C API's as external procedures). Why 2?
For sakes of experimentation using both sets of API's. Thats me :-)

JT: Basically, you would find the doc for those these API in the "HTTP
Server APIs" - (original) section but Group file APIs are independent of
HTTP Server type.

Best regards!


Simon Perez
Administrateur/Programmeur IBM iSeries
Le Groupe Option Retraite Inc.
Tel: (514)861-0505 ext:257
Fax: (514)861-1976
Courriel: s.perez@xxxxxxxxx

____________________________________________________________
Le Groupe Option Retraite Inc. n'assume aucune responsabilité quant
à la confidentialité et l'intégrité du présent courriel en raison
des risques d'interception inhérents sur l'Internet. Pour cette raison,
toute opinion exprimée au terme des présentes, ne reflète pas
nécessairement
celle du Groupe Option Retraite Inc.

Due to the security risks involved in sending information over the
Internet,
Retirement Option Group Inc. cannot be held responsible for ensuring the
confidentiality and integrity of the present e-mail. For this reason, the
opinion expressed
herein, do not necessarily reflect those of Retirement Option Group Inc.
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.






As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.