I get message 'MENG0004 VSAM access error. RTNCD=8, REASON=108' when trying to save a table in TPXADMIN.
TPX® Session Management for z/OS
RTNCD=8, REASON=108 (x'6C') means that TPX tries to write a record to ADMIN1 or ADMIN2 which exceeds the maximum allowed record size of the cluster.
This can happen if you define a lot of profiles to a user or you add a lot of virtual terminal masking rules to a table entry. The record will become larger as the defined cluster allows.
You can simply redefine the TPX ADMIN files with a bigger maximum record size. There is no limit within TPX. The hard limitation here is due to VSAM's record size limit of 32k for non-spanned files. (TPX must use non-spanned.)
ADMIN1 is involved if you are adding/updating
You may need to REORG your ADMIN1 file with a bigger maximum RECORDSIZE.
The delivered maximum record size for ADMIN1 is 8000 bytes.
ADMIN2 is involved if you are adding/updating
You may need to REORG your ADMIN2 file with a bigger maximum RECORDSIZE.
The delivered maximum record size for ADMIN2 is 2000 bytes.
NOTE: If you are approaching the maximum record size in VSAM, then it may be prudent to review your usage of the table in question because there is no other alternative within TPX to exceed the hard VSAM limit of 32K. For example, with the Masking Rules Table, is it possible to divide the Masking Rules Table Entry into two or more entries? If you have many one to one masking rules, can you implement better masking or wildcards into the rules?
In summary, your options when this error occurs are:
The help panels for the virtual terminal masking rules table (HEN0152D) include an excellent example describing masking and wildcards.