Definition of Virtual LU's using Batch VTAM Modeling Statements

book

Article ID: 242300

calendar_today

Updated On:

Products

TPX - Session Management

Issue/Introduction

Is there a limit to the number of Group Virtual terminals that can be defined in the VTAM node?  The default is 20, as shown in the sample hilvl.CB0VSRC(APTPX) member.

If more Group Terminal definitions are needed  how are those created?

Environment

Release : 5.4

Component : TPX for z/OS

Resolution

There is not a limit to the number of Virtual terminals, however adding VT's will require more above the line storage.

In order to generate a large number of  LU's, the Batch VTAM Modeling Statement can be used.  

See this area in the documentation for example JCL and further detail: 

   Set Up the Batch Job for VTAM Modeling Statement Support 

 

Below are MDL statement examples and what they generate:

 

Each grouping of initial value through order is a control set.  The first control set is for the '?' and the second is for the '*'.

  *TPX,MDL, initial value,type,count,order; initial value,type,count,order;… initial value,type,count,order

  *TPX,MDL,A,A,26,2;01,N,99,1                                 
  TPXG?* APPL MODETAB=TPXLGMD2,DLOGMOD=T3278M2,SRBEXIT=NO,EAS=1

The first set relates to the ?, the second set relates to the * on the TPXG line.

Result: TPXGA01-TPXGA99.. thru TPXGZ01-TPXGZ99

The first set explained:      For the ? (single position), generate the letters A thru Z (because the count is 26).

The second set explained: For the * (wildcard) start with number 01 and go to 99 under each letter.

--------

For a larger amount. 

This will generate 999 under each letter of the alphabet.

  *TPX,MDL,A,A,26,2;001,N,999,1                                 
  TPXG?* APPL MODETAB=TPXLGMD2,DLOGMOD=T3278M2,SRBEXIT=NO,EAS=1

Result: TPXGA001-TPXGA999, TPXGB001-TPXGB999, TPXGC001-TPXGB999 this continues thru the letter Z.

To have 9999 generated with one statement, do not use the first control set.

  *TPX,MDL,0001,N,9999,1        << notice the initial value 0001 and the count 9999 must be the same number of digits.                              
  TPXG* APPL MODETAB=TPXLGMD2,DLOGMOD=T3278M2,SRBEXIT=NO,EAS=1  << To have room for 9999 the 4th position is a constant 'G' .

Result: TPXG0001 to TPXG9999
*  

*  Use the '?' to generate 4998 under letters A and B

  *TPX,MDL,A,A,2,2;,0001,N,4998,1        <<  The ? will be A and have 4998, then B and 4998;                                
  TPX?* APPL MODETAB=TPXLGMD2,DLOGMOD=T3278M2,SRBEXIT=NO,EAS=1  <<  

Result: TPXA0001 to TPXA4998 followed by TPXB0001 to TPXB4998.
*                                                                                                                  

Do not use the '?', only the 2nd control set is needed

*TPX,MDL,0001,N,3220,1                                      
TPXG* APPL MODETAB=TPXLGMD2,DLOGMOD=T3278M2,SRBEXIT=NO,EAS=1

Result: TPXG0001 to TPXG3220