Hari
2006-01-16 17:45:24 UTC
Hi,
I can use Proc datasets to Copy many files STARTING with a particular
letter or string (using colon : after the repeating letters) .
How do I do copy selected datasets only from my library in case, the
files of interest have names ENDING with let's say "_Pattern" and I
want to copy all such data sets. For example I want to copy dataset
named "ABC_Pattern", "YetAnother_Pattern", "More_Pattern",
"NeverEnding_Pattern", "Meaningless_Pattern" , "ItMakesSense_Pattern"
without specifying the name of each file. Is it possible? Is there a
"wildcard character" for starting of the filename?
Similarly I want to delete all the files ENDING with "_DeleteMe" from a
particular library. Is there a method equivalent to specifying colon
for the same?
regards,
Hari
India
PS: Is it non-standard to name files in the above manner?
I can use Proc datasets to Copy many files STARTING with a particular
letter or string (using colon : after the repeating letters) .
How do I do copy selected datasets only from my library in case, the
files of interest have names ENDING with let's say "_Pattern" and I
want to copy all such data sets. For example I want to copy dataset
named "ABC_Pattern", "YetAnother_Pattern", "More_Pattern",
"NeverEnding_Pattern", "Meaningless_Pattern" , "ItMakesSense_Pattern"
without specifying the name of each file. Is it possible? Is there a
"wildcard character" for starting of the filename?
Similarly I want to delete all the files ENDING with "_DeleteMe" from a
particular library. Is there a method equivalent to specifying colon
for the same?
regards,
Hari
India
PS: Is it non-standard to name files in the above manner?