Troubleshooting
Problem
This document explains how to change the default value of a proxy command on R540 of the IBM System i5.
Resolving The Problem
New in V5R4 are Proxy commands, which are commands that point to another command rather than to a command processing program (CPP).
If you change the command default for a proxy command, the default is changed for the target command and any other proxy commands for the target command. Some IBM-supplied commands in library QSYS are proxy commands for commands in other libraries. If you want a version of an IBM-supplied command with different defaults, copy the target command of the proxy command instead of copying the proxy command.
If you change the command default for a proxy command, the default is changed for the target command and any other proxy commands for the target command. Some IBM-supplied commands in library QSYS are proxy commands for commands in other libraries. If you want a version of an IBM-supplied command with different defaults, copy the target command of the proxy command instead of copying the proxy command.
Do the following to change the command default for a proxy command:
Note: For this example, I will change the parameter Target release (TGTRLS) from *current to V5R3M0 for the Create Bound C Program (CRTBNDC) command on R540.
1. | Type the command WRKOBJ OBJ(*ALL/CRTBNDC) on the operating system command line; you will see the following: Work with Objects CRTBNDC *CMD QDEVTOOLS Create Bound C Program CRTBNDC *CMD QSYS PRX Create Bound C Program CRTBNDC *CMD QSYSV5R2M0 CREATE BOUND C PROGRAM CRTBNDC *CMD QSYSV5R3M0 Create Bound C Program |
2. | To determine the location where the proxy command is pointing to, you must issue the DSPCMD CRTBNDC command: Display Command Information Command . . . . . . . : CRTBNDC Library . . . . . . . : QSYS Target command . . . . . . . . . . . . : CRTBNDC Library . . . . . . . . . . . . . . : QDEVTOOLS Text . . . . . . . . . . . . . . . . . : Create Bound C Program Current proxy chain . . . . . . . . . : QSYS/CRTBNDC QDEVTOOLS/CRTBNDC |
3. | To change the default value of the parameter Target release (TGTRLS), type the following command. Notice that the library is QDEVTOOLS and not QSYS. CHGCMDDFT CMD(QDEVTOOLS/CRTBNDC) NEWDFT('tgtrls(V5R3M0)') Press the Enter key. |
4. | If you would like to view the value to ensure it was changed, prompt on the following command with an F4: QSYS/CRTBNDC Create Bound C Program (CRTBNDC) Target release . . . . . . . . . TGTRLS V5R3M0 |
Additional notes:
When you apply a PTF that changes an IBM-supplied command, the command reverts to the IBM-supplied defaults and you will need to apply your changes again.
When you apply a PTF that changes an IBM-supplied command, the command reverts to the IBM-supplied defaults and you will need to apply your changes again.
[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m3p0000006x8GAAQ","label":"CL"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]
Historical Number
462420653
Was this topic helpful?
Document Information
More support for:
IBM i
Component:
CL
Software version:
All Versions
Operating system(s):
IBM i
Document number:
636337
Modified date:
10 March 2025
UID
nas8N1014141
Manage My Notification Subscriptions