[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Try to get HttpApi to work on V4R3
I need to use this API on V4R3.
I've removed the For/Next loops from HttpApiR4, but when I execute this statement:
CRTSRVPGM SRVPGM(libhttp/HTTPAPIR4) MODULE(HTTPAPIR4)
EXPORT(*SRCFILE) SRCFILE(libhttp/QSRVSRC)
SRCMBR(httpapi2) TEXT('HTTP-API Service Program')
BNDSRVPGM(SOCKUTILR4) BNDDIR(QC2LE) ACTGRP(*CALLER)
I get these messages in my joblog:
Definition not found for symbol 'gsk_attribute_set_buffer'.
Definition not found for symbol 'gsk_attribute_set_enum'.
Definition not found for symbol 'gsk_attribute_set_numeric_value'.
Definition not found for symbol 'gsk_environment_init'.
Definition not found for symbol 'gsk_environment_open'.
Definition not found for symbol 'gsk_secure_soc_close'.
Definition not found for symbol 'gsk_secure_soc_init'.
Definition not found for symbol 'gsk_secure_soc_open'.
Definition not found for symbol 'gsk_secure_soc_read'.
Definition not found for symbol 'gsk_secure_soc_write'.
Service program HTTPAPIR4 not created.
The full text of the first message is:
Message ID . . . . . . : CPD5D02 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic
Date sent . . . . . . : 10/30/02 Time sent . . . . . . : 07:13:13
Message . . . . : Definition not found for symbol
'gsk_attribute_set_buffer'.
Cause . . . . . : No definition was found for reference
gsk_attribute_set_buffer in *MODULE object HTTPAPIR4 in library LIBHTTP. The
definition either does not exist or is not of the same data or procedure
type as the reference.
Recovery . . . : Try the Create Program (CRTPGM) command again, supplying
an object that contains a definition for symbol gsk_attribute_set_buffer.
I was able to create the whole thing on a V4R5 machine using TgtRls(V4R3M0), save the objects, restored them to V4R3, but when I
CALL it, I get:
Message ID . . . . . . : MCH4437 Severity . . . . . . . : 40
Message type . . . . . : Escape
Date sent . . . . . . : 10/30/02 Time sent . . . . . . : 07:16:57
Message . . . . : Program import not found.
Cause . . . . . : The calling program HTTPAPIR4 refers to a procedure or
data export from service program QSOSSLSR which does not exist. The calling
programs refers to export-ID X'0000000C', the service program defines only
X'00000006' exports.
Recovery . . . : Recreate the calling program.
Technical description . . . . . . . . : The service program has been changed
in an incompatible manner since the time the calling program was created and
thus bound to the service program. Recreate the calling program.
Thanks.
_________________
Art Tostaine, Jr.
CCA, Inc.
Jackson, NJ 08527