Use the METHOD-ID paragraph to name an instance method. Immediately precede the METHOD-ID paragraph with an IDENTIFICATION DIVISION declaration to indicate the beginning of the method definition.
For example, the definition of the credit method in the Account class begins like this:
Identification Division. Method-id. “credit”.
Code the method-name as an alphanumeric or national literal. The method-name is processed in a case-sensitive manner and must conform to the rules of formation for a Java method-name.
Other Java or COBOL methods or programs (that is, clients) use the method-name to invoke a method.
related tasks
Invoking methods (INVOKE)
Using national data (Unicode) in COBOL
related references
Meaning of method names (The Java Language Specification)
Identifiers (The Java Language Specification)
METHOD-ID paragraph
(COBOL for Windows Language Reference)