Anybody have any luck calling a CL program from a PHP script? I am using the db2_connect to connect to my iSeries.
<CODE>
</CODE>
<CODE>
PHP Code:
<?php
$options = array(
'i5_naming' => DB2_I5_NAMING_ON,
'i5_libl' => 'RFID'
);
$i5 = db2_connect("*LOCAL", "", "", $options);
$sql = "CALL RFID.PROCESSRFID";
$stmt = db2_prepare($i5, $sql);
db2_execute($stmt);
db2_close($i5);
?>