Hallo

Ich muss via PHP ein Programm auf der iSeries ausführen Zend ist installiert nur bekomme ich immer den Fehler: NR:311 Msg: Program not found.

Doch das Programm ist vorhanden doch ich weiß leider nicht warum es nicht gefunden wird mein Code:

PHP-Code:
$opts = array(I5_OPTIONS_INITLIBL => "EFS" );
                
                
$conn i5_connect("localhost""user""pw"$opts);
                if (!
$conn)
                die(
"
Connection using \"localhost\" with USERID and PASSWORD failed. Error
                number ="
.i5_errno()." msg=".i5_errormsg())."
"
;
                else
                echo 
"
Connection using \"localhost\" with USERID and PASSWORD OK!
\n"
;
                
                
                
                
//$this->log("Archiv " . $archivId . " DocId " . $docId . " Path: " . $outputPath);
                
                //system("EFS/EXPSTMF ARCID($archivId) DOCID($docId) TODIR('$outputPath')", $success); 
                
                //exec("call efscse/cse318");
                
                
$description = array (
                array (
"Name"=>"arcid""IO"=>I5_IN"Type"=>I5_TYPE_CHAR"Length"=>8),
                array (
"Name"=>"docid""IO"=>I5_IN"Type"=>I5_TYPE_CHAR"Length"=>8),
                array (
"Name"=>"todir""IO"=>I5_IN"Type"=>I5_TYPE_CHAR"Length"=>63)
                );
                
                
$input = array(
                        
"arcid" => "INTASI",
                        
"docid" => "D00AAA17",
                        
"todir" => "/www/zendsvr/test",                        
                        );
                
$Output = array();
                
                
$testprog i5_program_prepare("EFS/EXPSTMF" $description);
                
//$testprog = i5_program_prepare("EXPSTMF ARCID($archivId) DOCID($docId) TODIR('$outputPath')");
                
                
echo var_dump($input);
                if (!
$testprog) {
                    echo 
"i5_program_prepare";
                    exit();
                }
                else
                {
                    echo 
"Preparing erfolgreich..."$testprog ." " ;
                    echo 
"
rtvneta command failed. errno="
.i5_errno()."
                msg="
.i5_errormsg();
                }
                
                
$ret i5_program_call($testprog$input); 
Ich hoffe es kann mir jemand helfen.