View - SARVLGN2 message received during user logins
search cancel

View - SARVLGN2 message received during user logins

book

Article ID: 218821

calendar_today

Updated On:

Products

View

Issue/Introduction

Had an issue where no one could log on to SARXMS, where all logon attempts received the following error:

 SARVLGN2  SARVTAM _NMMM414 *SP ** Rejected-VTAMPASS=NO 

Though we were able to recycle the SARXMS task to recover, what would be a solution to not recieve this error?

Environment

Release : View 12.2

Resolution

The SARVLGN2 message is issued when there is insufficient storage (REGION) allocated for the maximum number of users defined for an XMS region. 

As a general rule of thumb, XMS regions should have 7M-8M of below-the-line storage available, and 10M plus 1M for every 2 users of above-the-line storage available. 

With that, there was insufficient REGION defined for the client's SARXMS/SARVTAM task. 

It was recommended, with a setting of USERMAX=300, that the REGION should be no less than REGION=175M.

This includes not using REGION=0M, as 0M only allocates an amount of region from what is available in the system at that time.

It is possible that there can be multiple SARXMS regions, where the USERMAX=nnn could be set to a lower value, to spread the user load across the tasks.

If it is decided to do that, then the following should be done:

 . Assign a different name to the other SARXMS tasks.

 . Lower the USERMAX=nnn, to where the combined value of the multiple tasks would equal the initial assigned number.

 . In the other SARXMS tasks, in the PARM=..., set the first parameter to a different value for each task:

 . . PARM=('SARXMSn,...')