This document contains sample ADS code for PUTting multiple scratch records into the same scratch area id, and then reading them back again in a loop using GET SCRATCH FIRST/NEXT.
CA IDMS, All supported releases.
Download the attached file below.
Using Scratch RecordsScratch Records