Tutorial › Programs That Copy a Screen Image to a Data Set › Explanation of SCREEN1 Program › OPTION Statement › SET Statement
To count the number of lines, you use accumulators A1 and A2. These accumulators are initially set to 1 with the following SET statements:
SET A1,1 SET A2,1