Batch IDEAL program gets error ILU306A INSUFFICIENT WORK SPACE
search cancel

Batch IDEAL program gets error ILU306A INSUFFICIENT WORK SPACE

book

Article ID: 17947

calendar_today

Updated On:

Products

Datacom Ideal

Issue/Introduction

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

ILU306A INSUFFICIENT WORK SPACE

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

Resolution

To use additional sort work files, you need to change the Ideal Options Block (@IIDOPTS).

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 @IIDOPTS.

For example, if you want to use 5 sort work files, then specify SORTWP=5 in the IDOPTS member, then in your execution JCL, add DD statements for SORTWK1, SORTWK2 ... up to SORTWK5.