First of all, you really should not need to set the seed for monte carlo. It has a default seed, intended to give you the same results if you run the same circuit multiple times. It can be set in IC61X easily - in IC5141 if you desperately want to set it you'd have to use:
envSetVal("asimenv.monte" "seedValue" 'string "232") ; the default is "1".
I think you probably need to do this before the simulator() statement in your OCEAN script.
To get to the results of a particular iteration, you can do:
value(v("/out" ?result 'ac) 'iteration 2)
For example. This is assuming that you've turned on the option to save family data (because otherwise it doesn't keep all the waveforms). You must use the "aliased" name of the analysis output (e.g. "ac" rather than "ac-ac") otherwise you will indeed get the nominal results. There's coverage of this in the documentation - you typically need to type:
and compare with
The results browser in IC5141 used to show the unaliased names - but for monte carlo you need to use the aliase names to get the result with variation. In IC615 (from ISR3 onwards), the results browser now shows the aliased name, which is better.
You can run spectre from the command line - using "spectre input.scs". It will produce the output database, but by default will call it "input.raw" (i.e. whatever the input file name is, with the suffix removed, and ".raw" added instead). You can alter that by doing (say):
spectre -raw ../psf input.scs
to tell it to put the results elsewhere.