sddscollect par.bpm par.orbits -collect=suffix=x -collect=suffix=y
The output file has three columns, called x, y, and Rootname. The latter column contains the original column names less the “x” (or “y”) suffix.
Do statistics on PAR BPM x and y readbacks, then collect the statistics into columns, one column for each type of statistic:
sddsprocess par.bpm -pipe=out -process=P?P?[xy],spread,%sSpread -process=P?P?[xy],ave,%sMean -process=P?P?[xy],stand,%sStDev | sddscollapse | sddscollect -pipe=in parbpm.stat -collect=suffix=xSpread -collect=suffix=xMean -collect=suffix=xStDev -collect=suffix=ySpread -collect=suffix=yMean -collect=suffix=yStDev
The output file has columns named xSpread, ySpread, xMean, yMean, xStDev, and yStDev, plus an additional column named Rootname. The latter column contains the remnants of each original column name after the suffix is removed. Note that in the example, the remnant names are the same for all the collections specified. If this were not true, sddscollect would abort and give an error message.
sddscollect [input] [output] [-pipe[=input][,output]]
-collect={suffix | prefix | match}=match[,column=newName][,editCommand=<string>]
This option may be given any number of times. However, all collections must produce the same number of matches. Further the set of name remainders (i.e., the original column name less the prefix or suffix, or following editing) must be the same for each collection.