To list all open files and their current input or current output status, use the SHOW FILES statement.
Copyright © SAS Institute, Inc. All Rights Reserved.