search cancel

TPX Max Sessions

book

Article ID: 134808

calendar_today

Updated On:

Products

TPX - Session Management Vman Session Management for z/OS

Issue/Introduction

Max terminal sessions was migrated from in Teleview Many are set to 25, but others are also set to 10, or 15, or some other number. 

How can we do a mass change for the max session limit in the profile?


 

Environment

Release : 5.4

Component : CA-TPX for OS/390

Resolution

You can change the Max Sessions via batch for all the profiles instead of having to manually update them online in TPX.


The profile variable name is PIDXNAME. The Max Sessions variable is PIDXSMAX..


The field length of the field is four positions. You can either blank it out or change it to zeros.  


 

JCL batch example below:


//STEP1    EXEC TPXEH,VNODE='*BATCH*'                                           <<<<<< Change TPXEH to the name of your TPX proc >>>>>>>.


//EXTFILE  DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DISP=(MOD)


//RPTFILE  DD SYSOUT=*


//SYSIN DD *


EXTRACT GIVING(EXTFILE) PROF AND NO SESSIONS (PIDXNAME(--------))


UPDATE USING(EXTFILE) ( PIDXSMAX(    ))


//STEP2    EXEC TPXEH,VNODE='*BATCH*'


//EXTFILE  DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DISP=(MOD)


//RPTFILE  DD SYSOUT=*


//SYSIN DD *


EXTRACT GIVING(EXTFILE) PROF AND NO SESSIONS (PIDXNAME(--------))


SET RTITLE1


' PROFILE    MAXSESSIONS '


SET RTITLE2


' =======    ===========  ========='


REPORT GIVING(RPTFILE) USING (EXTFILE)


(( ' &PIDXNAME'        '  &PIDXSMAX' ))


//



The report will list the Max Sessions value for all of the profiles