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 data items in JCL or BMS files.
  • 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 IDE does not issue a warning if you use a reserved word to rename an identifier and will rename the instances of the identifier. Trying to build your application, however, will fail.

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.