Hi
i´m facing problem when import an excel spreadsheet to a “dat” format file using gdx2dat comand. The importation works well and the output file is a gdx file, but i wont it to be a dat file. My gams code is:
set
AC global set (SAM accounts and others items)
/accounts SAM list/
alias (AC, ACP)
sets
i nameinput /2003mozsam.xlsx/
parameter SAM (AC,ACP);
$call gdxxrw.exe 2003mozsam.xlsx par SAM rng=mtrx!A6:EK146 Rdim=1 Cdim=1
set AC rng=A7:A146
set ACP rng=B6:EK6
parameter gdx2dat 2003mozsam.gdx >2003mozsam.dat
it imports well but does’t change the gdx file format output into a dat format. Help m please.
i get the following results:
— Job dissertacão.gms Start 02/11/13 12:26:11 WEX-VS8 23.9.5 x86/MS Windows
GAMS Rev 239 Copyright (C) 1987-2012 GAMS Development. All rights reserved
Licensee: GAMS Development Corporation, Washington, DC G871201/0000CA-ANY
Free Demo, 202-342-0180, sales@gams.com, www.gams.com DC0000
— Starting compilation
— dissertacão.gms(148) 3 Mb
— call gdxxrw.exe 2003mozsam.xlsx par SAM rng=mtrx!A6:EK146 Rdim=1 Cdim=1
GDXXRW Jul 4, 2012 23.9.5 WIN 36376.36401 VS8 x86/MS Windows
Input file : C:\Users\Aspire4349\Documents\gamsdir\projdir\2003mozsam.xlsx
Output file: C:\Users\Aspire4349\Documents\gamsdir\projdir\2003mozsam.gdx
Total time = 967 Ms
— dissertacão.gms(151) 3 Mb
— Starting execution - empty program
*** Status: Normal completion
— Job dissertacão.gms Stop 02/11/13 12:26:12 elapsed 0:00:01.180
chees
Djemilo
–
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
\