![]() Chapter Contents |
![]() Previous |
![]() Next |
| cmspid |
| Portability: | SAS/C extension |
| SYNOPSIS | |
| DESCRIPTION | |
| RETURN VALUE | |
| CAUTION | |
| EXAMPLE | |
| SEE ALSO |
| SYNOPSIS |
#include <cmsio.h> int cmspid(const char *name, struct CMSFSCB *fscbp);
| DESCRIPTION |
cmspid
tokenizes the string pointed to by
name
and fills in the filename, filetype, and filemode in
the CMSFSCB
structure pointed to by
fscbp
.
The string pointed to by
name
may be any filename in the
cms
or
xed
style.
| RETURN VALUE |
cmspid
returns 0 if tokenizing is successful and fills in the appropriate
fields in the CMSFSCB structure. If
name
cannot be tokenized or does not refer to a CMS or XEDIT file,
-1 is returned.
| CAUTION |
A return code of 0 from
cmspid
does not imply that the file exists.
| EXAMPLE |
#include <cmsio.h>
struct CMSFSCB fscb;
rc = cmspid("cms:profile.exec.a",& fscb);
.
.
.
| SEE ALSO |
| CMS Low-Level I/O Functions. | |
| XEDIT Low-Level I/O Functions. |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.