![]() Chapter Contents |
![]() Previous |
![]() Next |
| CALL FINDEND |
| Language element: | CALL routine |
| Category: | general purpose OpenVMS |
| OpenVMS specifics: | All aspects are host-specific |
| Syntax | |
| Details | |
| Example | |
| See Also |
Syntax |
| CALL FINDEND(context) |
| Details |
| Example |
In the following example, FINDFILE is used to search the user's directories for a filename
that matches MYPROG*.SAS. If it finds a file named MYPROG12.SAS, for example, then FN is set to
myprog12.sas. The CALL FINDEND routine
is then called to terminate the directory search and to release the associated resources.
context=0;
fn=findfile("myprog*.sas",context);
do while (fn ^= ' ');
put fn;
fn=findfile("myprog*.sas",context);
end;
call findend(context);
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.