Social accounting TABLE in gams or xls2gams command

ok now my supervisor says make code as follows in gams to see SAM table in GAMS code

“C:\Program Files (x86)\GAMS24.4.1\xls2gms.exe”

now my shortcut path is as:

C:\Users\Documents\gamsdir\projdir\ModalTex-PAK-final.gms

how can i change my own file path to see SAM table in GAMS code

for me his command for seeing xls file in gams is wrong somewhere.

Can anybody guide me???

wishes,

Annoisa


\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.

Try to change the xls to xlsx if you are using 2007 version of windows and above and guess your are using the wrong call code.

PARAMETER SAM(,,,);
$CALL GDXXRW.EXE SAMS.xls par=SAM rng=EXTER-GAMS!A1:V22 rdim=2 cdim=2
$GDXIN SAMS.gdx
$LOAD SAM
$GDXIN



On Tuesday, 17 March 2015 08:55:17 UTC+1, Annoisa wrote:

ok now my supervisor says make code as follows in gams to see SAM table in GAMS code

“C:\Program Files (x86)\GAMS24.4.1\xls2gms.exe”

now my shortcut path is as:

C:\Users\Documents\gamsdir\projdir\ModalTex-PAK-final.gms

how can i change my own file path to see SAM table in GAMS code

for me his command for seeing xls file in gams is wrong somewhere.

Can anybody guide me???

wishes,

Annoisa


\

To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.