An IDMS CV is regularly reporting DC045018 SCRATCH AREA FULL.
Issuing DCMT D SCRATCH shows alot of scratch areas with an id of MPGPSCRA.
Release : All supported releases.
Pageable maps.
The general reasons and suggested actions for a DC045018 SCRATCH AREA FULL condition are documented in DC045018 SCRATCH AREA FULL task abend.
A common cause of this condition can be revealed by noticing many SCRATCH AREA IDs of MPGPSCRA in the output of a DCMT D SCRATCH command.
Scratch areas with an id of MPGPSCRA are those created by the internal processing of pageable maps.
In pageable map processing, the individual detail lines that are created as a result of PUT DETAIL commands are maintained as scratch records with an id of MPGPSCRA.
The amount of scratch storage that an individual task can use for pageable map detail lines can be limited by the PAGING STORAGE clause of the OLM statement in SysGen.
However it should be noted that if a task exceeds that amount, no abend automatically occurs - the system will just not write out any further detail lines.
What happens is the system supplied variable $MAXIMUM-DETAILS-PUT is set to TRUE.
Application code should test $MAXIMUM-DETAILS-PUT and take appropriate action - either abort the dialog or issue a message to the end user that the limit has been reached and some data will be missing.