Description
This test checks that GAMS does not crash when writing a GDX or txt file to a non-existing folder. Contributor: Lutz Westermann, March 2014
Small Model of Type : GAMS
Category : GAMS Test library
Main file : unload11.gms
$title 'Check that GAMS does not crash when writing to non-existing folder' (UNLOAD11,SEQ=645)
$onText
This test checks that GAMS does not crash when writing a GDX or txt file
to a non-existing folder.
Contributor: Lutz Westermann, March 2014
$offText
set i /i1/;
$gdxOut xx/x/gdx
$unLoad i
$clearError
execute_unload 'doesNotExist/x.gdx', i;
execerror = 0;
file fx / 'doesNotExist/x.txt' /;
putclose fx 'test';