The SEMCLS.CMD sample in the \TOOLKIT\SAMPLES\REXX directory implements a semaphore class in Object REXX. The class is defined to the Global OREXX environment.
For this sample to function properly, Object REXX must be installed.