When I run the following code, GAMS does not compile this code in its written order. Could you pls help me out how I can force it to do so?

*$onmulti*

Variable Z;

$GDXIN Name1.gdx

$LOAD Z *** the value of Z here is equal to a***

$GDXIN

Display Z.l;

$GDXIN Name2.gdx

$LOAD Z *** the value of Z here is equal to b***

$GDXIN

Display Z.l;

Variable Z;

$GDXIN Name1.gdx

$LOAD Z *** the value of Z here is equal to a***

$GDXIN

Display Z.l;

$GDXIN Name2.gdx

$LOAD Z *** the value of Z here is equal to b***

$GDXIN

Display Z.l;

But GAMS displays these values as follows:

Z => b

Z => b