Previous Topic: About Network Control Language

Next Topic: Create NCL Procedures


What Is Network Control Language (NCL)?

Network Control Language (NCL) is a high-level interpretive language integrated into your products. It provides a fast, comprehensive and advanced development tool to implement your site-specific requirements. You can use NCL to rapidly tailor your product to suit the needs of your environment. NCL is based on free-form statement syntax that can process both system and user-supplied data. Data is maintained in variables that can be manipulated and changed as required.

Collections of NCL statements, which can include system commands, are termed procedures, and are stored in partitioned data sets (OS/VS) or CMS files (VM) called procedure libraries. These procedure libraries can be edited and updated while your system is operational. Each NCL procedure is a separate member within a procedure library.

There is one principal procedure library (or concatenation of libraries) used by your system. In addition to this system library, individual users under OS/VS can be allocated an individual procedure library for their own use, as part of the definition of their user ID.

NCL procedures can take many forms. They can be a simple collection of comment statements that provide an effective means of online documentation. They can be a collection of product commands in exactly the same format as entered from a terminal. They can be extended to include logical decision-making capabilities, the display of full-screen panels, and the use of file processing capabilities.

An NCL procedure can call or nest another procedure to improve modularity.

In addition, certain NCL procedures are reserved for performing special functions such as interfacing to unsolicited messages from VTAM (PPOPROC), intercepting and reacting to other messages sent to the user terminal (MSGPROC), and processing messages destined for the activity logs (LOGPROC).