I am getting error "DC045018 Scratch area full", do I need to recycle the IDMS CV to resolve this?
search cancel

I am getting error "DC045018 Scratch area full", do I need to recycle the IDMS CV to resolve this?

book

Article ID: 44441

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

Question: 

The CV has run out  of scratch, I am getting the following errors:

PREVIOUS TASK ABENDED WITH ABEND CODE D002 AND MESSAGE CODE 045018             

DC045018  Scratch area full.

Do I need to recycle the IDMS CV resolve this?

 

Answer: 

If scratch is in storage, then you don't need to recycle the IDMS CV.  You can allocate more scratch dynamically using DCMT commands.

To allocate more scratch: 

DCMT V SCRATCH SECONDARY EXTENT 10 MB 

You may also need to  increase the limit with: 

DCMT VARY SCRATCH LIMIT 100 MB 

Note, to make this change permanent you need to modify the SYSTEM statement in the SYSGEN to specify  SECONDARY EXTENT and LIMIT for SCRATCH and regenerate the system:

MOD SYSTEM xx
SCRATCH IN STORAGE IS YES
LOCATION XA
PRIMARY EXTENT 60 MB
SECONDARY EXTENT 10 MB
LIMIT 100 MB . 
GEN.

Alternatively find out what LTERMs are using the most scratch using DCMT D SCRATCH .

Then delete the scratch records by doing a DCMT V LTE lterm_id RESOURCES DELETE for the terminal holding the scratch.

 

Additional Information:

TEC489901 - Cause of DC045018 and DC027007 after PUT SCRATCH command, and how to prevent this?

Section DCMT VARY SCRATCH and DCMT DISPLAY SCRATCH in https://docops.ca.com

Section SYSTEM Statement Parameters Information in https://docops.ca.com

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component: