This example uses syntax which only became available in the VC 2.2 update 2 version. This is the ability to specify the parameters being passed directly in the method signature instead of in the procedure division. header.
If you are using a product version prior to 2.2.2 then you will have to change this syntax accordingly.
Thanks.