Batch IDEAL program gets error ILU306A INSUFFICIENT WORK SPACE

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


Running an IDEAL program in batch that generates a sorted report gets error:


If more SORTWK files are added, they are not used, it only uses one work file.


To use additional sort work files, you need to change the CA Ideal Options Block @IIDOPTS. You will need to make the change in the IDOPTS source module and specify the parameter SORTWP= with the number of sort work files you want to use. Then assemble and link it into phase @IIDOPTS. For example if you want to use 5 sort work files then specify SORTWP=5, then in the JCL you need to add DD statements for SORTWK1, SORTWK2 ... up to SORTWK5.