![]() Chapter Contents |
![]() Previous |
![]() Next |
| LNAMEGET |
| Category: | Image |
| Syntax | |
| Details | |
| Examples | |
| See Also |
Syntax |
| rc=LNAMEGET(path-string,type,<name-string1<,name-string2><,options>>); |
| 0 | successful |
| >0 | not successful |
Type: Numeric
Type: Character
Type: Numeric
Type: Character
Type: Character
| Details |
Path strings that are created by LNAMEMK are not readable, and their internal format may change from release to release. The only way to decode a path string is to use LNAMEGET.
You may find it useful to encode an image filename with LNAMEMK and to store that path string in a SAS data set. Then, later retrieve the path string and use LNAMEGET to find the arguments that were originally specified in LNAMEMK.
If you use the type, name-string, and options arguments, they are filled with the corresponding arguments specified in LNAMEMK (such as the libref/member name, physical pathname, and so on). The number of optional arguments that you specify must match the number specified in LNAMEMK.
| Examples |
imgpath=lnamemk(1,filename); rc=lnameget(imgpath,type,imgfile);
imgpath=lnamemk(2,dirname,filename); rc=lnameget(imgpath,type,dir,imgfile);
| See Also |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.