Supposing a file "STUDENT USERIDS' contains the userids of all students, you
could create a new virtual machine with this as its PROFILE EXEC:

/* */
address command
today=date('S')
do forever
   if date('S')<>today then call NewDay
   call collect
   'CP SLEEP 60 MIN'
   'CP SLEEP 60 MIN'
   'CP SLEEP 60 MIN'
   'CP SLEEP 60 MIN'
end

NewDay:
 'EXEC SENDFILE' today 'INDUSER A TO professor'
 if rc=0 then 'ERASE' today 'INDUSER A'
 today=date('S')
return
Collect:
 'PIPE < STUDENT USERIDS', /* Read list of students */
    '|SPLIT',              /* One userid per record */
    '|INSERT /IND USER /', /* Construct IND USER xxx command */
    '|CP',                 /* Execute command */
    '|>>' today 'INDUSER A'
return
2009/6/24 Mary Zervos <[email protected]>

>  Hello everyone,
>
> A professor here would like an "ind user studentname" taken every 4 hours
> of his 80 students, with a report sent to him once a week.  My question is,
> which vm software to use and how to collect the data in a file to send the
> professor.  The professor will use his own program to extract the data he
> needs from the file.
>
> Thanks for any help.
>
> Mary Zervos
> VM Systems Programmer
> Binghamton University
>



-- 
Kris Buelens,
IBM Belgium, VM customer support

Reply via email to