COBCH2332 Parameterized section not allowed within method

You must keep parameterized sections and methods separate.

In the following example, the error is resolved by using either the parameterized section or method, but not both.

       class-id err2332.
       method-id MyMethod.
           perform s1(1)
           goback.
       s1 section (i1 as binary-long).
           display i1
       end method.
       end class.