DC045015 Scratch area open failed in a local mode batch program
search cancel

DC045015 Scratch area open failed in a local mode batch program

book

Article ID: 124854

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

Running an IDMS local mode batch program fails with error DC045015 Scratch area open failed: GETSCRWX RC=FFFFFFFC

Environment

Release: All supported releases.

Cause

When SCRATCH_IN_STORAGE=ON is specified in the SYSIDMS parameter file, the scratch area will be allocated in memory.

If DC_SCRATCH=ON is also specified, it will use the DDLDCSCR area definition in the DMCL instead of DDLOCSCR. 

The DC045015 error message indicates there is insufficient storage to allocate the scratch area.

Resolution

Modify the JCL to specify a larger REGION size or specify REGION=0M in the EXEC card of the failing step.