Display Elements error: ISPT008 and ISPDTSRS return code 4 from GETMAIN
search cancel

Display Elements error: ISPT008 and ISPDTSRS return code 4 from GETMAIN

book

Article ID: 391954

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Endevor Display Elements is failing with below GETMAIN error:

ISPT008

GETMAIN error

ISPDTSRS received return code 4 from GETMAIN.

i.e. 










Environment

Endevor 19.0

Cause

The root cause of the problem is related to not enough TSO LOGON REGION SIZE.
To build an element list, Endevor searches the inventory and, for each element found, adds a row to an ISPF table using TBADD service from ISPF. When done, it displays the table to the user using the TBDISPL service which uses a panel to format the contents of the table.
The whole ISPF table must reside in storage and the storage is always finite so there is always potential exposure to this type of problem.

In this environment ACF2 is being used and the relevant TSO settings are:
TSOREGN (6,144)
TSOSIZE (7,680) 

TSOSIZE is the MAXIMUM region size that the user may request at logon
TSOREGN is the DEFAULT region size assigned at logon

Resolution

Possible resolutions are:

  • Ensure to run only Endevor (no split screen, no calling of Endevor from within another dialog) to keep as much storage as possible to hold the table.

  • Ensure all allowed storage is being used. This may require logoff/logon.

  • Specify a search criteria that would return less elements.

  • The number of elements that will go into the requested list has significantly increased. In this case increase the userid region sizes to try to resolve the problem.
    e.g. initially double the current values of TSOREGN (6144) and TSOSIZE (7680) and retry after logoff/logon. If the problem still persists keep increasing the values by 3, 4 times etc those original sizes and after each increase retry logoff/logon until the problem is resolved.