OPS3092O RUNNING pgmname LINE nn: COMPILER WORK SPACE OVERFLOW (1574640 1572864)

Document ID : KB000006474
Last Modified Date : 14/02/2018
Show Technical Document Details

The following error message can occur when an OPS/REXX program is invoked:

OPS3092O RUNNING pgname LINE nn: COMPILER WORK SPACE OVERFLOW (1574640 1572864) 



Workspace size limits the maximum number of nested calls, symbols, and values that can be used during program execution. If your programs have large memory requirements, use the size value to specify a workspace that is larger than the default. The default size is 1.5 MB.


Use the following syntax when calling your OPS/REXX program:

If using OPSIMEX/OI:

ADDRESS OSF "OI PROGRAM(pgmname) WS(5000000)"     

If using OPSEXEC/OX:

ADDRESS OSF "OX PROGRAM('library(pgmname)') WS(5000000)" 

In the above examples the value of 5000000 (5Mbytes) is just an example. 

Note: the keyword PROGRAM is required when allocating a bigger work space. 

Additional Information: