Using 3 digit Session Numbers in TPX
search cancel

Using 3 digit Session Numbers in TPX

book

Article ID: 26462

calendar_today

Updated On:

Products

TPX - Session Management Vman Session Management for z/OS

Issue/Introduction

 We have customized panels TEN0041 and TEN0010 to use session numbers as described in the documentation : Implement Session Number Usage in TPX

This uses the TPXUSES# exit source and provides a 2 digit session number. Is it possible to expand the 2-digit session numbers to 3-digit session numbers so that we can have more than 99 sessions?

Environment

TPX® Session Management for z/OS

Resolution

If you are using the provided TPXUCMND which works with Session numbers on the TPX menu (KD:  How to Implement Session numbers on the TPX menu), then the exit can handle 3 digit Session numbers.

The MODEL statement on the TEN0041 and TEN0010 panels needs to be changed.  Insert an additional space between _Z<z and <UENTUSER+, shifting the remaining fields to the right as needed.

TEN0010:

From - 

----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
)MODEL
  _Z<z <UENTUSER+ <z       + <z       + <z        +        ¬z                 +

To -

----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
)MODEL 
  _Z<z  <UENTUSER+ <z       + <z       + <z        +       ¬z                 +

 

TEN0041:

From -

)MODEL
  _Z:z :uentuser;   PF:Z +       <Z                               ¬z   +

To -

)MODEL
  _Z:z  :uentuser;   PF:Z +       <Z                               ¬z  +