What type of functionality do you need for the variable inside your macro?
I have always created my variables either in the Load Script or manually using the built in Variable Settings. I would create the system variable in the Load Script and then manipulate it within the macro. Is there a reason that your variable cannot be created prior to the macro?