IBM Support

Duplicate key errors in the partner profile when setting up two Identical relationships (1902) - Sterling Gentran:Server for Microsoft Windows

Troubleshooting


Problem

Duplicate key errors in the partner profile when setting up two Identical relationships (1902)

Symptom

Receiving Duplicate Key error when setting up more than one relationship for a partner

ODBC: MFC database exception encountered in PartnerLIB Error: Cannot insert duplicate key row in object 'Relationship_tb' with unique index 'RelationshipKEY'.
The statement has been terminated.
Cannot insert duplicate key row in object 'Relationship_tb' with unique index 'RelationshipKEY'.
The statement has been terminated.
SQL Statement: SELECT ""PartnerKEY"",""Direction"",""Agency"",""Version"",""TransactionSetID"",""Relea se"",""TestMode"",""Description"",""ImportTemplateKEY"",""DataEntryTemplateKEY"" ,""TurnAroundTemplateKEY"",""ExportTemplateKEY"",""ExportFileName"",""ExportToFl atFileNow"",""TurnAroundNow"",""SequenceCheckType"",""AckErrors"",""AckExpected" ",""HoursOverdue"",""AckTemplateKEY"",""AckTransactionSetID"",""ApplicationKEY"" ,""Alias"",""FunctionalGroupControlKEY"",""InterchangeControlKEY"",""ControlNumb er"",""PrintTemplateKEY"",""RelationshipTemplateKEY"",""SkipComplianceCheck"","" ImmediateAckProcessing"",""IsAcknowledgement"",""ExportToMailbox"",""RecipientMa ilbox"",""RecipientEMailAddress"",""ContentType"",""ContentSubType"" FROM ""Relationship_tb"" WHERE ""PartnerKEY"" = 'Partner Name' and ""Direction"" = 1 and ""Description"" = '810 - IN' ORDER BY ""PartnerKEY"" User: User Name Computer: Server Name AuditEventID: 70523 EventName: gentran ."

[{"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"5.1;5.2;5.3;5.3.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

PRI2337

Document Information

Modified date:
16 June 2018

UID

swg21522197