Previous Topic: Check NCL Syntax

Next Topic: Test in Production and Testing Environments


Test NCL Procedures

To ensure that system overhead is kept to a minimum, the system attempts to optimize NCL execution in many ways. One technique is that of sharing concurrent requests for a procedure of the same name, in such a way that only one copy of the procedure is loaded into storage. This technique also lets you specify a retention queue on which a completed procedure is retained, on the assumption that it can be reused within a short period. This eliminates the need to perform disk I/O to bring the procedure into storage again.

For extremely high usage procedures, you can use a technique known as preloading to ensure that the procedure remains in storage at all times, regardless of its pattern of use. These options are selected by the LOAD command.