Use this system macro to create an asynchronous entry control block (ECB)
on a specified I-stream.
Required Authorizations
|
Key0
| Restricted
| System
| Common Storage
|
| X
|
|
|
Format
- label
- A symbolic name can be assigned to the macro statement.
- PARM=reg
- Specifies the macro parameter list that is mapped by the IFORK DSECT,
where reg is a register from R0 to R7.
- ARGV=reg
- Specifies the macro parameter list that is mapped by the IDARGV DSECT,
where reg is a register from R0 to R7.
- ENVP=reg
- Specifies the macro environment variable list that is mapped by the IDENV
DSECT, where reg is a register from R0 to R7.
Entry Requirements
- This macro is restricted to ECB-controlled programs.
- This macro is intended only for tpf_fork library routine
use. The interface for this macro is subject to change.
Return Conditions
- Control is returned to the next sequential instruction (NSI).
- The process ID of the created child process is stored in the parameter
list.
Programming Considerations
- See the tpf_fork function in the TPF C/C++
Language Support User's Guide for information about the items that
the child ECB inherits from the parent ECB.
- The macro trace information for this macro will contain the program that
will be activated and the I-stream on which the program is running.
Examples
The following example creates an asynchronous ECB.
$FORKC PARM=R5