Passing Information to a Process [ Process Management Programmer's Guide ] MPE/iX 5.0 Documentation
Process Management Programmer's Guide
Passing Information to a Process
When your program creates a process, it can programmatically pass
information to the child process with:
* The param parameter of the CREATE intrinsic
* Item numbers 2 and/or 11 of the CREATEPROCESS intrinsic
* The parm and/or info parameters of the :RUN command
The GETINFO intrinsic enables your program to retrieve this information.
This is an example of a GETINFO intrinsic call:
GETINFO (INFO,MAXLENGTH,PARAMETER);
The parameters specified in the example are described below.
INFO Returns the contents of the info parameter from the :RUN
command or Item Number 11 from CREATEPROCESS.
MAXLENGTH Passes the maximum number of characters that MPE XL is
allowed to move to INFO. MAXLENGTH returns the number of
characters actually moved to INFO by MPE XL. MPE XL will
not move a number of characters greater than the
original value of MAXLENGTH.
PARAMETER Returns the contents of the parm parameter from the :RUN
command, item number 2 from CREATEPROCESS, or the param
parameter from CREATE.
MPE/iX 5.0 Documentation