TIRM062E "USER PROFILE ERROR: DUPLICATE KEY DETECTED"
search cancel

TIRM062E "USER PROFILE ERROR: DUPLICATE KEY DETECTED"

book

Article ID: 44357

calendar_today

Updated On:

Products

Gen Gen - Host Encyclopedia Gen - Run Time Distributed

Issue/Introduction

Using an application that is coming through MQ to IMS that is invoking a Gen 8.6 generated module and receiving this error: 

       TIRM062E: USER PR/OFILE ERROR: DUPLICATE KEY DETECTED 

How can this be resolved?

Resolution

See the Gen 8.6 doc page for TIRM062E.

The record retrieved from the runtime profile stack was placed on the stack by this user but not during the current procedure step.
This may be due to more than one user being logged on with the same user ID (if so, ensure that only one user logs on with a user ID) or (under IMS) clearing the screen and entering a transaction before a response to a prior transaction is received (in that case, press PA2 until you get a response to the first transaction).\
To prevent from happening again, modify the user ID exit to use terminal ID for the profile key instead of user ID.