The program call method allows calling program (*PGM) or service program (*SRVPGM).
PgmCall($Program, $Library, $Parameters, $Returnvalue, $Function)
|
Arguments |
Value |
Description |
|
$Program |
|
Program name to be called |
|
$Library |
Library name |
Library where the program is located |
|
$Parameters |
See parameters section |
Program parameters |
|
$Returnvalue |
|
Program return value |
|
$Function |
Function name |
Service program function name |
This sample shows how to run an RPG program that has the following parameters:
|
|
<?php |
|
|
|
|
|
|
|
|
Related Links: |
|
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.