Is there a way to pull the value of a string variable into the part of a collect export command so that the value is part of the filename? In other words, say I had a string variable name with the value alpha in all records in the dataset, could I insert alpha into the filename?

The reason that I ask is that I have a collect export within a loop and I'd like one word in the filename change, depending on the value the loop iteration (1,2,3, ...).