such syntac report that: "was expecting a numeric variable, a number, or a system missing value for the interval high: "
Code:
forvalues i = 1 2 {
rangestat (mean) Opnprc ChangeRatio, interval(StkSerial 0 `i') by(Stkid)
renvarlab *_mean,postfix(Work`=`i'+1')
}

Comment