Tutorial › Programs That Copy a Screen Image to a Data Set › Explanation of SCREEN2 Program › SET Statement
The following SET statement assigns a value of 1 to the accumulator A1:
SET A1,1
The accumulator is used in this program to determine when all the array elements have been entered into the TSO data set.