Example 5

COUNT FROM(IN3) WRITE(CT3) DIGITS(6) SUB(2)
Subtracts 2 from the count of records in the IN3 data set. Prints a message containing the modified count. Writes a 6-byte record with the modified count to the CT3 data set. If IN3 contains 8125 records, the 6-byte output record in CT3 would look like this:
008123