As far as I can see, E depends on NoEmp, so the only unknown thing is NoEmp. Instead of writing
int NoEmp;
you could write
int NoEmp = ...;
and pick up the value for NoEmp from a .dat file. That should do the trick.
Note that your question relates to OPL and there is a dedicated OPL forum.
#CPLEXOptimizers#DecisionOptimization