The OLQBATCH job ran out of scratch processing a very large SORT.and failed with error messages:
OLQ 098012 08 Sort error number: 33 - PUT SCRATCH ERROR-SIGNON TO DC AGAIN
OLQ 090017 08 Unable to process Select request due to record build error
Release : 19.0
To increase the amount of scratch available to the OLQBATCH job:
1. Add the following SYSIDMS parameters to you the OLQBATCH JCL
SCRATCH_IN_STORAGE=ANY
SCRATCH_PRIMARY_EXTENT=20MB
SCRATCH_SECONDARY_EXTENT=20MB
2. Ensure the OLQBATCH JOB has a REGION=
size specified that is large enough to be able to accommodate (we recommend REGION=0M
).
For example:
//OLQBATCH EXEC PGM=OLQBATCH,REGION=0M
...
//SYSIDMS DD *
SCRATCH_IN_STORAGE=ANY
SCRATCH_PRIMARY_EXTENT=20MB
SCRATCH_SECONDARY_EXTENT=20MB
DMCL=DMCL1900
//SYSIPT DD *
...