I have an application that was written to use PA1 and PA2 keys. The PA2 key is set as the jump key globally in TPX. How can I assign the PA2 key per session/application without globally changing the PA2 key which would impact all sessions?

Document ID : KB000032451
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:
 

I have an application that was written to use PA1 and PA2 keys. The PA2 key is set as the jump key globally in TPX.  

How can I assign the PA2 key per session/application without globally changing the PA2 key which would impact all sessions? 
 
 
Answer:
 

There are a couple of options.

1) You could code the TPXUCMD EXIT for the application that uses the PA1 and PA2 keys.                                                                                                            

2) You could make this session/application a pass session and whatever the PA keys are defined to the application will work because TPX will be out of the picture and the application will control the session.  

However keep in mind once the application is a pass session the TPX PF keys and PA keys will not work.