dollar sign ($) in macro

Dear,

I have a question concerning $macro statement, where I want to use ‘$call’ option. For example:

$macro create(VARnam) $call gdxdump %Filaname%.gdx output=%Path%&VARnam.csv symb=&VARnam %SpecKey%
create(xaf_mat)

Everything seems wokring except the

$call

option. I was trying to find, how the problem with dollar sign should be treated in macro statement, but I couldn’t find it.
Do you have any hint to help me.

The macro I am presentating here is creating csv files. I have to create over 200 such files.

Best
Irena