How do I store a dynamic data into a variable and pass it to another test case or test suite?

Thank you for your response.I am looking at ways to dynamically set my global variable.