From: "Data _null_;" on 27 Jan 2010 10:40 I want to write a stored compliled program and when the REDIRECT INPUT statement is used when the program is called, I want to be able to determine the name used in the REDIRECT statement. Like a function perhaps newname = REDIRECTEDINPUT(oldname); Here is example of using redirected input. I want to know that SASHELP.CLASS is being used for CLASS; data class; stop; set sashelp.class; run; data _null_ / pgm=test; set class; put _all_; run; data pgm=test; redirect input class=sashelp.class; run;
|
Pages: 1 Prev: How to read a large odd looking file Next: How to read a large odd looking file |