ILF (Integrated Language Facility)
What is the scope of a work field?
Input#1 calls Input#2 with a 'scope' of Subprocess, Related, or Detached. Work fields (and work files) are also defined with scopes of Subprocess, Related, or Detached.
The following rules apply:
A Subprocess work field will only survive a Subprocess level of Process Invocation.
A Related work field survives both Subprocess and Related Process Invocations.
A Detached work field survives all Invocations (and in general survives until the user exits Appx).
Input Process Invocation Type
------------------------------------------------------------
| Invocation Type | SubProcess | Detached | Related |
|-------------------|------------|------------|------------|
| | | | |
| SubProcess | Yes | No | No |
Work Field | | | | |
Invocation | Detached | Yes | Yes | Yes |
Type | | | | |
| Related | Yes | No | Yes |
| | | | |
------------------------------------------------------------
Yes=Work field is passed No=Work field is not passed