News
Abstract
Information about the PTFs for the ILE RPG enhancement that provides the ALWUPD(*NO) command parameter and Control keyword for CRTBNDRPG. This allows RPG programmers to prevent the program from being updated after it is created.
Content
You are in: RPG Cafe Fall 2026: ALWUPD(*NO) command parameter and Control keyword for CRTBNDRPG
Short URL: https://ibm.biz/rpgcafe_fall_2026_crtbndrpg_alwupd_no
Fall 2026: ALWUPD(*NO) command parameter and Control keyword for CRTBNDRPG
Details
You can now use CRTBNDRPG to create a program that cannot be updated with the UPDPGM command.
Note:
- Unlike most enhancements for the RPG compiler commands, if you have the PTF for the CRTBNDRPG command, the enhancement for the new ALWUPD command parameter applies to all target releases.
- However, the enhancement for the new ALWUPD Control keyword only applies to the specific target release for the compiler PTF.
Background:
- Programs created with DFTACTGRP(*YES) are always created with ALWUPD(*NO). The UPDPGM command cannot be used for these programs.
- Prior to this enhancement, programs created with CRTBNDRPG DFTACTGRP(*NO) were always created with ALWUPD(*YES). Programmers who wanted to prevent the UPDPGM command from being used were forced to use the CRTPGM command so they could specify ALWUPD(*NO)
- With this enhancement, you can use CRTBNDRPG with DFTACTGRP(*NO)to create a program that cannot be changed by the UPDPGM command.
Details about the enhancement:
- Control keyword ALWUPD(*YES | *NO)
- Specify ALWUPD(*NO) if you want to ensure that the UPDPGM command cannot be used.
- Specify ALWUPD(*YES) if you want to ensure that the UPDPGM command can be used even if the program is compiled with CRTBNDRPG ALWUPD(*NO).
- CRTBNDRPG ALWUPD(*ACTGRP | *NO)
- The command parameter defaults to *ACTGRP.
- If the program is created with DFTACTGRP(*YES), it is created with ALWUPD(*NO).
- If the program is created with DFTACTGRP(*NO), it is created with ALWUPD(*YES).
- Note: The compiler waits until after Control keywords have been processed before determining the meaning of *ACTGRP.
- If ALWUPD(*NO) is specified for CRTBNDRPG, the program is created with ALWUPD(*NO) unless the ALWUPD(*YES) control keyword is specified.
- The command parameter defaults to *ACTGRP.
PTFs for 7.5 and 7.6
Note: Be sure to read the Special Instructions in the cover letter before applying the PTFs for the CRTBNDRPG command. When you apply or remove these PTFs, any CHGCMDDFT changes you have made to either CRTBNDRPG or CRTRPGMOD will revert to the shipped defaults.
It is only necessary to have these PTFs if you want to specify the UPDPGMALWUPD parameter for UPDPGMCRTBNDRPG. If you only want to specify the UPDPGMALWUPD keyword in your Control statement, you don't need these PTF. You only need the compiler PTFs.
7.5:
- ILE RPG compiler: 5770WDS (PTF number to be updated later)
- ILE RPG CRTBNDRPG command: 5770WDS (PTF number to be updated later).
7.6:
- ILE RPG compiler: 5770WDS (PTF number to be updated later)
- ILE RPG compiler, TGTRLS(V7R5M0): 5770WDS (PTF number to be updated later)
- ILE RPG CRTBNDRPG command: 5770WDS (PTF number to be updated later).
RDi support
A later update for RDi will support this enhancement.
Documentation
The 7.5 and 7.6 ILE RPG Reference and ILE RPG Programmer's Guide are updated with full information about this enhancement. Start at the "What's new since 7.5", or "What's new since 7.6" section in the Reference.
- What's new since 7.5? https://www.ibm.com/docs/en/ssw_ibm_i_75/rzasl/rpgrelv7r5post.htm
- What's new since 7.6? https://www.ibm.com/docs/en/ssw_ibm_i_76/rzasl/rpgrelv7r6post.htm
Was this topic helpful?
Document Information
Modified date:
27 October 2026
UID
ibm17289829