I would be very simplistic about this. Just have a file with a list of student names and run a pipe in a timed wakeup loop.
The Pipe would look something like :- 'PIPE < STUDENT NAMES A | SPECS /IND USER/ 1 w1 nw | CP | >> SNOOPING DATA A' Colin Allinson Amadeus Data Processing
