NET/MASTER Management Services (MS) Command Reference Manual

LBANNER
NCLCHECK
NonStop NET/MASTER MS Commands
2–158 115412 Tandem Computers Incorporated
NCLCHECK The NCLCHECK command checks the syntax of an NCL procedure without executing
it. The number of errors and warnings are displayed after the syntax check is finished.
(An error is a mistake that causes an NCL procedure to stop executing. A warning is a
mistake that does not stop an NCL procedure from executing, but may cause it to
execute unpredictably.) This command does not execute an NCL procedure and does
not log error messages in the activity log.
NCLCHECK
ncl-procedure
ncl-procedure
specifies the name of the NCL procedure to check.
Considerations
The default authority level of this command is 0.
You can enter this command from any NCL procedure, including the INIT NCL
procedure, by using either the CMD core statement or the INTCMD verb.
This command performs the same function as the C (Compile) option in Edit
Services. After using this option, you can view any error messages using the Error
List option.
This command does not detect errors in logic. Use the DEBUG command to check
the logic of an NCL process.
Example
The following example checks the syntax of the NCL procedure, PROC1:
NCLCHECK PROC1
The following message indicates that no syntax errors were detected:
NNM0999 *END* 0 ERRORS 0 WARNINGS