DC016003 freed storage violation in IDMS table procedure
search cancel

DC016003 freed storage violation in IDMS table procedure

book

Article ID: 449507

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

When executing an IDMS table procedure, freed storage violations are occurring.

DC016003 V1 T161451 396132C8 TASK:RHDCNP3J PROG:XXXXXXXX  FREED STORAGE AT ADDRESS  2DF7E500 WAS FOUND TO HAVE BEEN VIOLATED

Errors indicating data exceptions may also be seen:

DC027005 V1 T161451 TASK:RHDCNP3J PROG:XXXXXXXX ABENDED WITH CODE S0C7  AND REASON CODE 0007

Environment

Release: All supported releases.

Cause

Either the LOCAL WORK AREA or the GLOBAL WORK AREA as defined in the table procedure is not large enough.

Resolution

IDMS table procedures make use of storage blocks passed between IDMS and the table procedure program. These are called LOCAL WORK AREA and GLOBAL WORK AREA.

IDMS allocates these storage areas according to sizes specified in the table procedure definition. They are defined and referenced by the user written program defined in the EXTERNAL NAME clause of the table procedure definition.

The sizes defined in the table procedure definition must be large enough to accommodate the storage areas as defined in the program. If they are not, errors such as DC016003 freed storage violations can occur.