You would have to use the list exit facility for this. When the user signs off, you would CP MSG * the appropriate AFD command from the exit. Eric