Chapter Contents

Previous

Next
SYSFILRC

SYSFILRC



Contains the return code from the last FILENAME statement

Type: Automatic macro variable (read and write)


Details


Details

The return code reports whether the last FILENAME statement executed correctly. SYSFILRC checks whether the file or storage location referenced by the last FILENAME statement exists. You can use SYSFILRC to confirm that a file or location is allocated before attempting to access an external file.

Values for SYSFILRC are

Value Description
0 The last FILENAME statement executed correctly.
[ne]0 The last FILENAME statement did not execute correctly.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.