I am not 100% sure if this would work on an OSP, but it works fine on FANUC.
Change your main program to a sub by ending it with an M99 instead of the M30 (or M02).
Now create a main program that looks something like this...
O2005
M98 P2006 L10
M30
If you are not familiar with FANUC codes I will explain a bit more...
O2005 - Program number of the main program - I don't know if OSP needs this
M98 P2006 L10 - M98 Call subprogram, P2006 is the sub program number which is what used to be your main program - I am calling O2006, finally L10, calls the subprogram 10 times.
M30 is the program end command.
There are variations on the subprogram calling command even on FANUC controls. Some use the form of
M98 P200610, in this case M98 is the same and the P address specifies two items..
P2006 is the program number as before, but the trailing two digits specify the number of loops - 10 in this example.
You will of course need to look at your OSP programming manual to get their version of the codes - but I have a hunch they will be very similar.
Hope this helps!
Chris