× 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.



I thought I might appeal to you Monty Python fans out there for mercy.

Ok, I figured I would try to call a stored procedure with PHP with no
parms.

Here is my code:
$qUpdateCustomer = "CALL NEWJCLIB/PROC_JC15_ALL( )";
$request = i5_prepare( $qUpdateCustomer );
if( !$request ) var_dump( i5_error( ) );
$procExec = i5_execute( $request );
if( !$procExec ) var_dump( i5_error( ) );
$stuff = i5_fetch_assoc( $request );
var_dump($stuff) ;

A connection IS established. I proved that by calling a program that I
know works before this.

ALSO, I can CALL the SAME stored procedure from VB.NET and it WORKS.

I can ALSO call it from iseries navigator just fine.

This IS ALL I get on the var_dump:
array(0) { }

It passes all the checks along the way in the code.

ALSO. It does not appear that the stored procedure is even getting
called on the AS/400 from PHP.

The error log does not show any abnormalities.

Tom Deskevich
INFOCON Corporation
Phone 814-472-6066
Fax 814-472-5019


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-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.