So i create the module
i would like have an Object
Can i use this
CRTSRVPGM
if yes
i compile with this command Create a service pgm
but issue with the compilation
i have inside this information
/Include QRPGLESRC,HTTPAPI_H --> inside lot a procedures prototypes like http_url_get ... etc
in my pgm with no main i used these procedures but the compilator does not recognize these procedures
need Help please
XSRVMSERVT RPGLE --> /Include QRPGLESRC,HTTPAPI_H
|
--> // Call microservice
Rc = Http_url_get(In_Url:Filename);
CRTSRVPGM SRVPGM(GESCOMOBJ/XSRVMSERVT) MODULE(GESCOMOBJ/XSRVMSERVT) SRCFILE(LOGCDESRC/QRPGLESRC)
Definition not found for the symbol 'HTTP_COMP'.
Definition not found for the symbol 'HTTP_ERROR'.
Definition not found for the symbol 'HTTP_SETCCSIDS'.
Definition not found for the symbol 'HTTP_TEMPFILE'.
Definition not found for the symbol 'HTTP_URL_GET'.
Definition not found for the symbol 'HTTP_URL_POST'.
Definition not found for the symbol 'HTTP_XPROC'.
Top
Definition not found for the symbol
Re: Definition not found for the symbol
Did you specify the binding directory at the CRTSRVPGM command like this:
BNDDIR(LIBHTTP/HTTPAPI)
Thomas.
BNDDIR(LIBHTTP/HTTPAPI)
Thomas.
-
- Posts: 17
- Joined: Fri Jan 07, 2022 2:56 pm