The actual execution of an NCL procedure is termed an NCL process. The EXEC or START command specifies the name of an NCL procedure, which is either retrieved from the NCL procedure library or is already resident in storage.
The following example shows the logical difference between a procedure and a process:
START PROC1 NCPA START PROC1 NCPB START PROC1 NCPC
These commands, entered from an OCS window, invoke three separate NCL processes, each of which is executing procedure PROC1. There can be only one copy of PROC1 NCL code in storage, but three separate executions of it are taking place concurrently. In this example each process is given a different NCP name as a parameter.
It is nevertheless common for the term procedure to be used instead of process.
| Copyright © 2010 CA. All rights reserved. |
|