Hi folks,

Has anyone had trouble with ExecProcedure and "CALL PROC ('...')" causing
the http daemon to hang--or rather the thread that the request is run
under? I'm attempting to call a program on the AS400 that will convert a
short julian date (yyyyddd) to a regular mm-dd-yy date, and both of the
following methods cause it to hang:

     oDQ.SQL = "CALL ITSR5.DATCON (x'" & JDate & "F')"
     oRS.Execute

     oRS.ExecProcedure("ITSR5.DATCON", JDate, GDate)

oDQ is an ODBCQuery object, and oRS is an ODBCResultSet object. The program
that is being called expects a six-byte alpha field in which to place its
output. Is there any way I can figure out where the call is going wrong? If
not, is there an easier way to do this?

Thanks,

Brian Cline
G&P Trucking Company
clib@gptruck.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.