IBM Support

RPG Cafe: Fall 2021: Debug named constants with DEBUG(*CONSTANTS)

News


Abstract

RPG enhancement delivered through PTFs in the fall of 2021. Debug named constants with keyword DEBUG(*CONSTANTS)

Content

g

You are in: RPG Cafe > RPG Cafe: Fall 2021: Debug named constants

Short URL: https://ibm.biz/rpgcafe_fall_2021_debug_constants

Specify DEBUG(*CONSTANTS) to enable debugging named constants

Warning

If you specify DEBUG(*CONSTANTS), you need a debugger PTF on any system where you debug the program.

  • On a 7.3 system, you need PTF 5770SS1 SI76807.
  • On a 7.4 system, you need PTF 5770SS1 SI76808.

Details

When you specify Control keyword DEBUG(*CONSTANTS), you can evaluate named constants while debugging.

          ctl-opt debug(*constants);
.                                                            .
.                                                            .

PTFs for 7.3 and 7.4, available in September 2021

Warning: You need a debugger PTF on every system where you debug the program. If the debugger PTF is not applied on the system where the program is running, the debugger issues an error when you try to evaluate a named constant.

7.3:

  • ILE RPG compiler: 5770WDS SI77165
  • Debugger: 5770SS1 SI76807

7.4:

  • ILE RPG compiler: 5770WDS SI77166
  • ILE RPG compiler, TGTRLS(V7R3M0): 5770WDS SI77167
  • Debugger: 5770SS1 SI76808

The PTFs are also available with the Db2 for i Fix Packs. See Db2 for IBM i 2021 PTF Group Schedule.

Documentation

The 7.3 and 7.4 ILE RPG Reference and ILE RPG Programmer's Guide are updated with full information about these enhancements. Start at the "What's new since 7.3" or What's new since 7.4" section in the Reference.


[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS69QP","label":"Rational Development Studio for i"},"ARM Category":[],"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.3.0;and future releases"}]

Document Information

More support for:
Rational Development Studio for i

Software version:
7.3.0 and future releases

Operating system(s):
IBM i

Document number:
6481981

Modified date:
09 September 2021

UID

ibm16481981

Manage My Notification Subscriptions