Launching multiple programs

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

stepsandnumbers
Posts: 2
Joined: Sat Aug 27, 2011 2:34 am

Launching multiple programs

Postby stepsandnumbers » Sat Aug 27, 2011 2:42 am

Hi,

I have created a main program that is supposed to run other programs, one by one.
Something like:

run program_1
run program_2
...
run program_n

The problem is that the execution of the main program actually launches only the first program_1 and ignores all the others.
What should I do for the main program to make all the other n programs run?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Launching multiple programs

Postby EViews Gareth » Sat Aug 27, 2011 7:55 am

Use exec rather than run

stepsandnumbers
Posts: 2
Joined: Sat Aug 27, 2011 2:34 am

Re: Launching multiple programs

Postby stepsandnumbers » Sat Aug 27, 2011 10:27 am

Error: exec us not defined or is an illegal command

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Launching multiple programs

Postby startz » Sat Aug 27, 2011 10:58 am

You need version 7.1 or 7.2, which are feree upgrades from version 7.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests