IBM Support

ILE RPG Outline limitations with "Update the Outline view when text is changed in the editor" preference

Troubleshooting


Problem

When the "Update the Outline view when text is changed in the editor" preference is selected, there are some limitations of the ILE RPG Outline view.

Symptom

In version 8.5, the following types of statements do not have their information included in the Outline view when the preference is selected:

  • SQL statements [Fixed in 8.5.1]
  • I spec statements [Fixed in 8.5.1]
  • O spec statements [Fixed in 9.5.1]

In addition, there are differences in the content in the Outline view when the preference is selected:
  • references to conditioning and level indicators are not included
  • references for DEFINE opcode with *LIKE factor 1 are not included [Fixed in 9.5.1.2]
  • incorrect data structure length shown when using LIKE on a data structure using OVERLAY [Fixed in 9.1.1]
  • (M) and (D) attributes on references do not match in all cases
  • whether external fields appear in upper or lower case does not match how it is first referenced [Fixed in 9.0]
  • attribute information on fields does not match in all cases
  • incorrect length shown when using OVERLAY(field:%BIF())
  • compile-time expressions as keyword parameters are not recognized. For example the value of CONST(%LEN(fld1)) will not be reflected in the outline view.

Note: only files with standard ILE RPG file extensions work with the preference selected. [Fixed in 8.5.1]

Note: with the preference enabled, the Refresh button is still used to update the external file information and to update the information used by the content-assist function in the editor (Ctrl+Space). [Fixed in 8.5.1 for content-assist function]

Resolving The Problem

Limitations of the ILE RPG Outline view when the "Update the Outline view when text is changed in the editor" preference is selected will be resolved in the future.

If you deselect the preference, the Outline view will revert to the previous behaviour. Source in the editor will have to be closed and re-opened for the preference to take affect.

With version 8.5.1, the following changes are available when the preference is selected:

  • SQL and I spec statements' information is included in the Outline view
  • non-standard ILE RPG file extensions work
  • Content assist information is updated automatically except for external information. For external information to be updated, the Refresh button must be pressed.

With Rational Developer for i 9.0, the following changes are available when the preference is selected:

  • external fields appear in upper or lower case depending how it is first referenced


With Rational Developer for i 9.5.1, the following changes are available when the preference is selected:
  • H-Spec, O-Spec, I-Spec and exception output statements' information are now included in the Outline view
    • For the I-Specs, qualified and indexed names are now supported in addition to showing references to variables in the Outline view

With Rational Developer for i 9.5.1.2, the following changes are available when the preference is selected:
  • References for DEFINE opcode with *LIKE factor 1 are now included in the Outline view

[{"Product":{"code":"SS4QVT","label":"Rational Developer for Power Systems Software"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"RPG and COBOL Development Tools for i","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"8.5;8.5.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSAE4W","label":"Rational Developer for i"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"General Information","Platform":[{"code":"","label":""}],"Version":"9.0;9.0.0.1;9.0.1;9.1;9.1.1;9.1.1.1;9.5;9.5.0.1;9.5.0.2;9.5.0.3;9.5.1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
02 August 2018

UID

swg21592728