× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Apparently people just aren't listening when we start talking about proxy
commands.

WRKOBJ OBJ(*ALL/CRTBNDRPG) OBJTYPE(*CMD)

In the following list notice the Attribute column.
Object Type Library Attribute
CRTBNDRPG *CMD QDEVTOOLS
CRTBNDRPG *CMD QSYS PRX
CRTBNDRPG *CMD QSYSV7R1M0
CRTBNDRPG *CMD QSYSV7R2M0

DSPCMD CMD(QSYS/CRTBNDRPG)

Target command . . . . . . . . . . . . : CRTBNDRPG
Library . . . . . . . . . . . . . . : QDEVTOOLS
Text . . . . . . . . . . . . . . . . . : Create Bound RPG Program
Current proxy chain . . . . . . . . . : QSYS/CRTBNDRPG
QDEVTOOLS/CRTBNDRPG

CRTPRXCMD CMD(ROB/GOFLYAKITE) TGTCMD(QSYS/CRTBNDRPG)
DSPCMD CMD(ROB/GOFLYAKITE)
Target command . . . . . . . . . . . . : CRTBNDRPG
Library . . . . . . . . . . . . . . : QSYS
Text . . . . . . . . . . . . . . . . . : Create Bound RPG Program

Current proxy chain . . . . . . . . . : ROB/GOFLYAKITE
QSYS/CRTBNDRPG
QDEVTOOLS/CRTBNDRPG

So apparently you can build up quite a list.
So if I do
QSYS/CRTBNDRPG <F4>
I will see
Generation severity level . . . GENLVL 10
CHGCMDDFT CMD(ROB/GOFLYAKITE) NEWDFT('GENLVL(11)')
I will see:
CPC6260 - The default values for command CRTBNDRPG in library QDEVTOOLS
were changed.
Notice, the command name does not match what I used in CHGCMDDFT.
Notice, the library does not match what I used in CHGCMDDFT.

Now if I do
QSYS/CRTBNDRPG <F4>
I will see
Generation severity level . . . GENLVL 11

CHGCMDDFT CMD(ROB/GOFLYAKITE) NEWDFT('GENLVL(10)')
will set it back

So if you copy the command out of QSYS you ARE changing the system
defaults for the command in QSYS, and, everywhere else. And YOUR CHANGES
ARE LOST AT THE NEXT UPGRADE, PTF, etc!!!

So, are you still saying this is the "proper" way? And only a fool would
do it any other way?

DLTCMD CMD(ROB/GOFLYAKITE)
only deletes the proxy specified.

Let me compare this to something familiar to the linux world.
On IBM i I can do
WRKLNK '/QIBM/ProdData/*'
and see a bunch of directories.

ADDLNK OBJ('/QIBM/ProdData') NEWLNK('/home/ROB/Neverland')
LNKTYPE(*SYMBOLIC)

WRKLNK OBJ('/home/ROB/NeverLand/*')
and see all the directories in there?
RMVLNK OBJLNK('/home/ROB/Neverland')

Very similar.

I see software which uses symbolic links in the IFS to point to actual
programs in the /qsys.lib system.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.