|
Thanks, Edmund. I got that working. I added my own command and got it to work as well, except for handling errors. How are the completion messages sent back to CODE? Is there any documentation or examples for this? Thanks very much - I really appreciate it. Phil --- Edmund.Reinhardt@ca.ibm.com wrote: > This is a multipart message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > Yes you can add a label associated with a CHGPF > command to the Program > Generator and associate it with the member you are > editing. > > Steps: > 1) Edit the PF member > 2) Actions->Compile->Prompt ... > [Note that the PF member is assocaited with CRTPF > label by default. And > that the CRTPF label is associated with the CRTPF > command.] > 3) Change the label to CHGPF > 4) Change the command to CHGPF > 5) Change the user profile to 'User defined' > 6) Hit the Options button and make sure that the > value is: > &C FILE(&L/&M) SRCFILE(&L/&F) SRCMBR(&M) > You can add whatever addional parameters you wish > Of course this assumes that the PF you want to > change resides in the same > library as the SRC-PF > 7) Hit Ok button > 8) Hit Add > 9) Hit Submit to actually execute the command > > From now on the CHGPF label will be used with this > member > If you want the CHGPF label to be used with a > different member. Load the > member. Prompt a compile and select the CHGPF label > before doing a > submit. > > Hope this helps, > > --------------------------------------------------------------------------------------------- > > Edmund Reinhardt, AS/400 AD Tools, > reinhard@ca.ibm.com > Dept 607, IBM Canada Lab TL 969-4392 Phone > 905-413-4392 > > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
As an Amazon Associate we earn from qualifying purchases.
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.