To list all open files and their current input or current output status, use the SHOW FILES statement.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.