The following table provides information regarding object types and corresponding maximum name length for some of the commonly used objects in AB Suite.
Object | MCP | Windows | |
---|---|---|---|
Configuration | Maximum name length limit is 64 characters. However, the names of configurations that are used with MCP Runtime Transfer are limited to 10 characters. | Maximum name length limit is 260 characters. The following message is displayed when the length of the name crosses 260 characters. “Configuration name is not valid” | |
Segment | Maximum name length limit is 64 characters. The names entered in these Configuration properties are limited to 10 characters.
| Maximum name length is 65 characters. The following message is displayed when the name length crosses 65 characters. “Property value is not valid” Maximum name length for database name is 128 characters. | |
Internal Methods Segment and Class Methods | Maximum name length limit is 64 characters. | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “Property value is not valid.” | |
Public Segment Method | Public Segment Method names are limited to 17 characters. | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “<method_name> is not a valid value for Name.” | |
External Class Method | Recommended maximum name length for an External Class Method is 36 characters (model will not enforce this). | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “Property value is not valid”. | |
Folder – GSD block | The names of Folders that are used as ‘GSD blocks’ (IsUnique is set to True) must not exceed 27 characters. | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “<Name> is not a valid value for Name”. | |
Dictionary Folder | If IsUnique is set to True, the name of the dictionary folder is limited to 27 characters. | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “<Name> is not a valid value for Name”. | |
Class — Ispec, copyispec, event, copy event and classes with no stereotype | Maximum name length limit is 64 characters. However, the alias is used in the generated COBOL program and as the Data Set name in the DASDL, if the class contains persistent attributes. The alias is limited to 5 characters. | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “<Name> is not a valid value for Name”. The alias is limited to 5 characters. | |
Extract File | Maximum name length limit is 64 characters. However, only the first 4 characters of the element name (up to the first underscore in the name) will be used as the internal file name in the generated COBOL program. (Ensure that the Alternate Name is blank. Due to past extract file implementations, MCP TargetBuilder will take the extract file’s internal file name from Alternate Name, if it is present. Using the Extract file’s Alternate Name to specify the internal file name is not recommended.) Element Name suggestion for extract files is <FileID> _<Name>. | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “<Name> is not a valid value for Name”. | |
OutputStream files (Shadow reports) | The element name is limited to 2 characters. | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “<Name> is not a valid value for Name”. | |
Persistent Attribute | The element name of a persistent attribute is limited to 10 characters. If the IsKey property of a persistent attribute is set, the element name is limited to 9 characters. (If a 10th character is included, it will be truncated on the automaint profile.) | Maximum name length limit is 65 characters. The following message is displayed when the name length crosses 65 characters. “<Name> is not a valid value for Name”. Alternate name for these persistent attributes has maximum limit of 20 characters. |