TeamcenterKnowledge

Teamcenter Automotive Edition-GM Overlay utilities

gmo_check_comp_names

Truncates the component names greater than 25 characters in length. This program locates the components of an assembly with component names greater that 25 characters long. The component name is the occurrence note of type name UG NAME. Syntax gmo_check_comp_names [-u=user-id {-p=password | -pf=password-file} -g=group] -all | -f=folder-name | -i=item-id | [-key=[keyAttr1=keyVal1] [,keyAttr2=keyVal2]…[,keyAttrN=keyValN]] [-r=itemrev-id] [-report | update] [-out=output-file-name] [-v] [-h] Arguments -u Specifies the user ID. This is a user with Teamcenter administration privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -all Runs on all the items in database. -f Specifies the name of the folder containing list of items to be checked for component names. -i Specifies the item ID to be checked. -key Specifies the key of the item to be checked. Use the following format: Copy [keyAttr1=keyVal1] [,keyAttr2=keyVal2]…[,keyAttrN=keyValN] To find the key of an object, use the get_key_string utility. For more information, see BMIDE for Data Model Design. -r Specifies the revision ID to be checked. -report Generates the report of items with component names greater than 25 characters. -update Truncates all the component names greater than 25 characters. -out Specifies the name of the file to which output is written. This argument is optional. Default file name is gmpdm_comp_name_report.txt. -v Specifies verbose mode. -h Displays help for this utility. Restrictions This utility must be run by a user in the dba group with the -update option. Examples Copy gmo_check_comp_names -u=Tc-admin-user -p=password -g=group -all -report -v Related Topics Teamcenter Automotive Edition

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/xvu1737253712125/gmo_check_comp_names.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)