Imports
An import directive consists of the import keyword followed by a file name. When the cost engine processes an import directive, it effectively includes the text of the specified file in the current CSL module, for the purposes of the current module evaluation.
When the cost engine evaluates a CSL module, it first performs imports by doing the following:
Importing the constants.csl for the current process group, if it exists. You can access this file as follows: Double click Globally Available CSL/Lookup Tables under Global Cost Model Information in the navigation pane of the CMWB, select the CSL Modules tab, and click the constants folder.
Importing the file specified by each import directive in the current module.
For taxonomy modules, the cost engine also imports formula names listed in the costTaxonomy formula table on the CSL Modules tab of the module’s associated process group (click Globally Available CSL/Lookup Tables).
Each import statement has the following form:
import <simple-identifier>.csl
simple-identifer is the short name (not pathname) of the file to be imported. Each import directive ends with a line break.
The file must be declared as a library file in the cost model. To view declared library files for a given cost model, Globally Available CSL/Lookup Tables under Global Cost Model Information in the navigation pane of the CMWB, and select the Library CSL tab.