NET/MASTER Network Control Language (NCL) Programmer's Guide
Writing NCL Procedures
Initial NCL Procedure Development
106160 Tandem Computers Incorporated 4–13
NCL Procedure Size There are no NCL features that limit the size of an NCL procedure. The size of an
NCL procedure is restricted only by the physical limits of your system (memory
capacity, disk capacity, and so on).
Larger NCL procedures are slower to edit. For convenience, it is recommended that
you keep your NCL procedures to a moderate size.
Performing a Test
Compilation
After you have created an NCL procedure, you can perform a test compilation on it in
either Edit Services or OCS.
Performing a Test Compilation in Edit Services
From the Edit Services selection list, you can perform a test compilation using these
steps:
1. Move the cursor before the name of the NCL procedure you want to check.
2. Type the letter C before the name of the NCL procedure.
3. Press the ENTER key.
4. Check for mistakes after the test compilation by looking at the message line that
appears at the top of the Edit Services selection list screen.
If the test compilation is successful, the following message is displayed in the message
line:
*END* 0 ERRORS 0 WARNINGS
If the test compilation is unsuccessful, a message similar to the following is displayed
in the message line:
*END* 5 ERRORS 9 WARNINGS
You can examine the error list created by the test compilation by pressing the F11
function key. The error list can display up to four screens of error messages. You can
use the F7 and and F8 function keys to scroll backward and forward through these
error messages.
Performing a Test Compilation in OCS
In OCS, you can perform a test compilation by entering the NCLCHECK command
from the OCS command input line. The following example performs a test
compilation on an NCL procedure:
NCLCHECK PROC1
If the test compilation is successful, the following message is displayed in the OCS
message display area:
*END* 0 ERRORS 0 WARNINGS