SQL2GDX1.gms : Creates a GDX file in execution time and displays it in GDXVIEWER

Description

Store data from Access database into a GDX file.


Category : GAMS Data Utilities library


Main file : SQL2GDX1.gms   includes :  Transportation.mdb  SQLSr0.gms  SQL2GDX1.gms

$ontext
Store data from Access database into a GDX file.
$offtext

$if %system.filesys% == UNIX $abort.noerror 'This model cannot run on a non-Windows platform';

execute '=gams.exe SQLsr0 lo=%GAMS.lo% gdx=Transportation.gdx';
abort$errorlevel "step 0 failed";
execute '=gdxviewer.exe Transportation.gdx';