Example 1
For this example, assume that the CTL1CNTL data set contains a DFSORT INCLUDE statement.
COUNT FROM(IN1)
COUNT FROM(IN2) USING(CTL1)
The first COUNT operator prints a message containing the count of records in the IN1 data set.
The second COUNT operator prints a message containing the count of records included from the IN2 data set.