If I understand your request, and if the naming standard will be static, then for the volume name you should be able to use something like:
'cifs_ssd_'+ $appname + '_data_001'
$appname is the user input you will be prompting for and you can use the same variable for your CIFS share name.
Is that what you are looking for?