You can use the EXEC command to invoke an NCL process which will execute serially with respect to other NCL processes that are invoked by the EXEC command from the same window (that is, in the same processing environment).
This means that if you enter:
EXEC PROC1 EXEC PROC2
from the OCS window command line, a process is invoked to execute procedure PROC1 immediately; the process invoked to execute PROC2 waits until the first process ends before starting to execute. The use of the EXEC command therefore serializes execution of NCL processes in each NCL environment.
Serial execution of processes is useful for handling sequences of functions or operations.
Remember: Each NCL processing environment is independent; each one can be executing its own stream of serialized processes. There is no limit to the number of processes that can be queued for serial execution within an NCL processing environment.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |