DOS and GAMS

Archive of Gamsworld Google Group
Post Reply
Archiver
User
User
Posts: 7876
Joined: 7 years ago

DOS and GAMS

Post by Archiver »



HI,
what is the exact syntax for running a GAMS program from DOS i VE DONE
THE FOLLOWING
C:\progra~1\GAMS22.3\GAMS modelname wdir=d:\foldername

(IF I AM CORRECT wdir = the directory where my gams model is saved on
it)

and i always have errors. ALSO THE FILE DOES NOT OPEN.

A.A.A
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---


Archiver
User
User
Posts: 7876
Joined: 7 years ago

Re: DOS and GAMS

Post by Archiver »



AAA, this should work as you suggested. Ad the parameter dp=2 to the
command line to see detailed file operations.

C:\projects>c:\progra~1\gams22.3\gams trnsport wdir=c:\projects\emp
dp=2
--- Job trnsport Start 06/10/08 14:35:37
*** opennotype R=2 FN="c:\projects\emp\trnsport"
*** MSG=No such file or directory
*** opennotype R=0 FN="c:\projects\emp\trnsport.gms"
*** opentext W=0 FN="c:\projects\emp\trnsport.lst"
....

Regards, AM



On Jun 8, 12:41 pm, "A.A.A" wrote:
> > HI,
> > what is the exact syntax for running a GAMS program from DOS i VE DONE
> > THE FOLLOWING
> > C:\progra~1\GAMS22.3\GAMS modelname wdir=d:\foldername
> >
> > (IF I AM CORRECT wdir = the directory where my gams model is saved on
> > it)
> >
> > and i always have errors. ALSO THE FILE DOES NOT OPEN.
> >
> > A.A.A
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---


Post Reply