In the following example, the arguments a and b above are passed to the invoked method, and these correspond to the parameters x and y respectively, in the invoked method. The types of the parameters are specified in the AS phrase of the USING clause.
01 a string. 01 b binary-long. invoke type MyClass::MyMethod(a,b) ... method-id MyMethod. procedure division using x as string y as binary-long. ... end method.
See also the Core sample, which is available from $COBDIR/demo.