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



Hello

I have posted this on web400 and midrange as I am not sure if it is php
(web) issue or rpg issue and I have spent so many hours trying to find an
answer ...

We have this piece of code ...

$ret = $conn->PgmCall('ISSSRV003', ISS_SW_LIBRARY, $param, NULL,
array('func'=>'UPDATEDRVDEBINFO'));
print"Ret = " . $ret;
if (isset($ret['io_param']['returnCode'])) {
$returnCode = $ret['io_param']['returnCode'];
if ($returnCode === '1') {
$result = 'Update failed. If update fails again please
report the issue. (1)';
} elseif ($returnCode === '0') {
$result = '**OK';
} else {
$result = "Unable to update the contact details. Unknown
Return code ({$returnCode})"; // Unknown failure
}
} else {
$result = "Execution failed.";
}

The service program ISSSRV003 and procedure UPDATEDRVDEBINFO do exist and
have been tested in interactive environment.

We added a call to another service program into ISSSRV003 procedure
UPDATEDRVDEBINFO like this;

rSaveDrv = SaveDrvContact(pToken:mdrmtu:pPhone:pMobile:pEmail);

If we comment this line out the above call to UPDATEDRVDEBINFO works
perfectly.
If it is included in the program we get $result = "Execution failed.";
which indicates the call to the service program procedure failed.

To further confuse the issue, if the line is commented out I can put
ISSSRV003 in debug from Rdi for user PHPUSER and when we execute the PHP
code the program stops in debug and I can step through the program, but if
we put the line above back in and do the test again the program does not
appear in the debug session. And to make sure all was correct we removed
the line again and did the debug test again and the program stopped in the
debug session.

The XMLSERVICE job has the correct library list and if we copy that
library list to the green screen interactive environment and do a test
call it works perfectly. We even tried this logged on as PHPUSER to see
if it may be an authority thing - Nope!

I just can not find any error message anywhere - not in the ZEND Http
jobs, Not in the Zend subsystem jobs, Not in the /LOGS files - Nothing.

Any suggestions where I can find what is causing this would really be
appreciated.

Thank you



Don Brown

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.