Suppress ENS is a flag that can be applied to load files. The purpose of this flag is to allow data to be loaded respecting the property values given in the load file rather than applying the ENS definition that is configured for the class definition of this object. This would typically be used to load historical data with specified properties, for example, name, rather than having ENS define the property. When data is created interactively or through the loader without this setting, the configured ENS is still applied to the object.
NLF
The following example shows the SuppressENS flag used with containers. In the first container, ENS is turned off. When the server encounters the next container, it turns ENS back on.
Containers must be used to turn ENS suppression on or off.
.BeginContainer
SuppressENS|True
.SPFFolder
..Name|FLD-00402
..Description|Test from nlf file 402
..ContainerID|
..SPFActiveWorkflowCount|0
..SPFActiveWorkflowStatus|
.EndContainer
.BeginContainer
SuppressENS|False
.SPFFolder
..Name|FLD-00502
..Description|Test from nlf file 502
..ContainerID|
..SPFActiveWorkflowCount|0
..SPFActiveWorkflowStatus|
.EndContainer
In the following example, both folders have the ENS functionality disabled. The properties in the load file are used instead of generating them with ENS.
SuppressENS|True
.SPFFolder
..Name|FLD-00402
..Description|Test from nlf file 402
..ContainerID|
..SPFActiveWorkflowCount|0
..SPFActiveWorkflowStatus|
.SPFFolder
..Name|FLD-00502
..Description|Test from nlf file 502
..ContainerID|
..SPFActiveWorkflowCount|0
..SPFActiveWorkflowStatus|
XML
When the server encounters the new container property, it switches off the ENS functionality for every item in the load file.
<Container SuppressENS="True" >
<SPFFolder>
<IObject Name="FLD-00100" Description="Test from file 2" />
<ISPFWorkflowItem SPFActiveWorkflowCount="0" SPFActiveWorkflowStatus="" />
<ISPFFTRItem />
<ISPFOwnedObj />
<ISPFSupportItem />
<ISPFFolder />
<ISPFExportableItem />
<ISPFSubscribableItem />
</SPFFolder>
</Container>