TPX Session Management for z/OS

 View Only

Did you ever wonder about those Z-variables in TPX-panels?

  • 1.  Did you ever wonder about those Z-variables in TPX-panels?

    Posted May 30, 2016 09:30 AM

    When looking at TPX-panels, for example at the TPX Main menu you find variables 'Z' instead of 'real' Variable names. What is the explanation for this?

    In panel TEN0041 there are four variables 'Z':

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

    They are related to the list starting with .ZVARS located below the marker )INIT:

    .ZVARS=(UENTSLCT UENTPJMP UENTLAB UENTWSTS)               

    The first Z is replaced with variable UENTSLCT, the second Z with UENTPJMP. The reason for using this ZVARS-list is that the names of the variables are longer than the values. The PF-key is only two bytes long but the variable name is UENTPJMP. This technique allows to keep the length of the fields as short as necessary.