Suppose, during one of the iterations of eimsim, eimsim fails with an error condition. What should eimsimbatch do? There are two alternatives, which you can select between via use of the parameter nextonfail. As the name implies, if this is set `yes' (the current default value), a failure during one iteration of eimsim will only cause eimsimbatch to skip a beat, then proceed to the next iteration. If set to `no', a single error will stop everything.
The cleanup parameter, if set to `yes', calls eimsim twice: once with the parameters entrystage and finalstage retaining their passed-through values; the second time, both parameters are set to `cleanup'. This makes eimsim delete any intermediate files. I recommend keeping cleanup set to `yes' if you have a significant number of iterations to do.