Restrictions in Refactoring

The following restrictions apply to rename refactoring:

  • It is not possible to rename identifiers in a copybook which is referenced using the COBCPY environment variable but is not located in the workspace.
  • It is not possible to rename identifiers in copybooks referenced using a COPY... REPLACING statement.
  • It is not possible to rename typedef members.
  • It is not possible to rename identifiers in any resources that are outside the current workspace.
  • It is not possible to rename identifiers defined using the AS phrase.
  • It is not possible to rename a program name or an entry-point.
  • Rename using a COBOL reserved word is not supported.

The following restrictions apply to native COBOL only:

  • It is not possible to rename copybooks from the editor. You can rename copybooks from COBOL Explorer. This, however, does not change any of the references to the copybooks in the code.
The following restrictions apply to JVM COBOL only:
  • It is not possible to rename identifiers in a copybook.
  • It is not possible to rename constructors of COBOL JVM classes.
  • Rename package is allowed only when the Package to subdirectory matching option is set in the build configuration of the project.