U need to make the common script a Reusable action, then use RunAction with O/p parameters to hold data that are returned from the called script, else as mentioned above a Datatable or even an Environment variable.
Suppose u have a function named abc as mentioned below
Function abc(x,y) - u can supply aruments, if required else can e empty
..create an array
Redim MyArray()..assign a dimension to this array
Enter/Fill in the values into this array
MyArray(0) = "SA"
MyArray(1) = "IND"
abc = MyArray
In the script just assign a variable
arrMyArray = abc("XX","YY")