Implementing User Programs › About the SUBSYS Facility › Use &CALL With SUBSYS
Use &CALL With SUBSYS
To counter the disadvantages of using &CALL, you can use the SUBSYS facility. This provides the following:
- The target program is only attached once and all work is queued to it
- The target program can easily keep files open
- The target program is informed of NCL process termination, and of subsystem start and stop. It is also notified of system shutdown.
The SUBSYS program is attached once, as a long-running task so that you can open files, get storage, and so on. These resources are not released when you return.
|
Copyright © 2010 CA.
All rights reserved.
|
|