Problem
When accessing the JES Spool the following is displayed:
Error: MFRHCGI Failure
RTS error = 037
Program name: casrdo41
The console.log also shows an error:
CASKC0027E Error executing service 'esmac' I/O error : file 'tempsort.dat' error code: 9/037 (ANS74), pc=0, call=1, seg=0 37 File access denied 11:51:43
Resolution
The problem occurs because the casspool.dat file has grown to a size where it cannot be sorted in memory. This requires a temporary sort file to be created on disk in the current directory. For casrdo41 (the JES spool view program) the current directory is $COBDIR/lib/es for a 32-bit server or $COBDIR/lib/es64. By default this directory has write permissions only for the root user.
To resolve the problem set the TMPDIR environment variable in the [ES-Environment] section of the servers configuration information to a location that is writable by the ES Admin user and restart the server.
#Server
#Enterprise
#EnterpriseServer
