GT.M Long Names
Overview
In prior versions, GT.M restricted the length of a valid M name to 8 characters. Effective V5.0-FT01, GT.M allows M names up to thirty one (31) characters long. GT.M ignores any characters after the first 31, i.e. only the first 31 characters are significant in an M name. The following M names are enhanced according to the new length restrictions:
- Local variables names
- Global variables names
- Routine names
- Source and object file names (not including the extension)
- Label names
- Local lock resource names
- Global lock resource names
For global names, the preceding caret (^) continues to not count towards the limit.
Effective V5.0-FT01, GT.M also enhances region and segment names by allowing up to 31 characters from the existing limit of 16 characters. All GT.M utilities MUPIP, LKE, DSE and GDE including the percent utilities are enhanced according to the new restrictions on M names, region names and segment names.
All M commands and functions that use user-provided identifier names are enhanced to allow up to 31 characters.