Dear All,

I have a program as follows:

program BSE_02052018
version 12
syntax, MAINdirectory(str)


.
.
.

I want to know how can I store the name BSE_02052018 in a local/global macro? I have similar programs which start with BSE_. I want to store the program names so as to use them within my programs. Another reason to do so is that I also want to extract the digits (02052018) and use them for analysis by removing BSE_ from the program name string.

Thanks,
Amit