Teamcenter Automotive Edition-GM Overlay utilities
migrate_gmo_to_gcn_events
Migrates all subscription events created in the GM Overlay using CNonIR project to create the GCN events. Migration is done by modifying attributes such as event_type, attribute_names, attribute_values, logic_operators, and math_operators on the ImanSubscription class. Syntax migrate_gmo_to_gcn_events [-u=user-id {-p=password | -pf=password-file} -g=group] [-list] -split=number-of-subscriptions-in-a-file] [-input_file=input-file] [-report=report-file] [-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. -list Outputs all UIDs of instances of the ImanSubscription class in the database. -split Limits the number of subscriptions output to each file. -input_file Specifies the file containing the UIDs of the subscriptions. Only the valid GM Overlay subscription events specified in the input file are migrated to GCN events. -report Writes all messages and errors to the file specified by this argument. -h Displays help for this utility. Restrictions None. Examples To list the UIDs of all the subscriptions in the database in an output file, enter the following command on a single line: Copy migrate_gmo_to_gcn_events -user=test-user -p=test-password -g=dba -list To output all UIDs of the subscriptions in the database to output files containing a maximum of 100 subscriptions per file, enter the following command on a single line: Copy migrate_gmo_to_gcn_events -user=test-user -p=test-password -g=dba -list -split=100 To migrate all subscriptions in a given input file and write all messages and errors to a file specified by the report option, enter the following command on a single line: Copy migrate_gmo_to_gcn_events -user=test-user -p=test-password -g=dba -input_file=/tmp/migrate_input.txt -report=/tmp/migrate_report.txt If the report option is not specified, the utility writes to the migrate_gmo_to_gcn_events.txt default file. To migrate all subscriptions in the database and report all messages and errors to the default report file using the default user login, enter the following command on a single line: Copy migrage_gmo_to_gcn_events Related Topics Teamcenter Automotive Edition
Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/xvu1737253712125/migrate_gmo_to_gcn_events.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)