Sometimes messages like below can be seen even when the number and size of global variables in the OPSVIEW panel 4.8 are very low or have values that should be handled by the number of blocks reserved by the parameter GLOBALMAX:
OPS/MVS OPS4290O GLOBAL VARIABLE WORKSPACE IS 98.5% FULL (39400 OF 40000 BLOCKS USED). PROGRAM=xxxxxxx
Other related error message that can be shown is when the workspace is being used by RDF tables:
OPS7593J GLOBAL VARIABLE (RDF) WORKSPACE OVERFLOW
Environment
OPS/MVS
Cause
Global variable blocks are also used by RDF tables so even having just a few global variables visible in the OPSVIEW panel 4.8 there can be a large number of blocks being consumed by RDF tables.
Resolution
Check if there are any big unused RDF tables by visiting the panel 2.6. There can be old tables that can be deleted or user tables that may be cleaned up. If the global variables and RDF tables usage are both in normal consumption and nothing can be deleted then the value of the parameter GLOBALMAX needs to increased and OPSMAIN recycled. Increasing the value of this parameter may require a bigger SYSCHK1 dataset so it may have to be enlarged. The procedure is:
Allocate a larger dataset using the member DEFDIV of the CCLXCNTL library as a model.
Use IDCAMS REPRO to copy the contents of the old file to the new one.