Generating N different datasets from simulation

Dear Dynare users,

what is the most efficient way to do the following:
I want to simulate a basic RBC model for 200 periods and would like to back out series for labor productivity, hours and the relative price of investment to perform a Monte Carlo analysis.
I use as command

and would like to generate 2’000 different datasets. I assume that looping over Dynare would take forever, there’s got to be a more efficient way to do that no?

Use the simul_replic option. For an example on what you want to do, see

thanks a lot!