SCHED has the ability to accept loops through scans. The two parameters that allow this are GROUP and REPEAT. They should be specified along with the parameters of the first scan in the loop. GROUP specifies the number of scans to be involved in a loop. REPEAT specifies how many times to go around the loop. Any start or stop times specified for the scans of the loop will only apply to the first pass. DURation or DWELL should be used to set the scan lengths.