Re: New Idea about Rpg program, copy members and RDI

Marco Facchinetti <marco.facchinetti-kthxv0ud/[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <CAMsgu4raT5BGm=HJ2vMuRhupqipNoqcRNzwU92+tqUhz8LebVg@mail.gmail.com>
Agreed, seems.

Best regards
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno mer 10 dic 2025 alle ore 17:49 Brad Stone <[email protected]> ha
scritto:

> I agree.  If it's local but used in more than one place, it can be a
> service program outside of all other programs.
>
> Seems like the bad habits of copying routines into every program like the
> olden days.  But I could be misunderstanding.
>
> On Wed, Dec 10, 2025 at 10:19 AM Charles Wilt <[email protected]>
> wrote:
>
> > Why would you have functions in a /COPY member?
> >
> > I mean, I've seen it done by people that don't understand ILE in code
> I've
> > inherited...
> >
> > But IMHO, it's a very bad practice.
> >
> > Charles
> >
> > On Wed, Dec 10, 2025 at 9:01 AM Marco Facchinetti <
> > [email protected]> wrote:
> >
> > > Cross posted in Wdsc list.
> > >
> > > In an effort to reduce duplicate code between similar programs with
> > > different purposes, we use copy members to contain the common parts.
> > These
> > > include definitions, but also routines and functions.
> > > When editing copy members, the content assistant doesn't work because
> it
> > > doesn't have the context. Hence the idea of being able to edit copy
> > members
> > > directly in the main source code:
> > >
> > > https://ibm-power-systems.ideas.ibm.com/ideas/IBMI-I-4740
> > >
> > > Best regards
> > > --
> > > Marco Facchinetti
> > >
> > > Mr S.r.l.
> > >
> > > Tel. 035 962885
> > > Cel. 393 9620498
> > >
> > > Skype: facchinettimarco
> > > --
> > > This is the RPG programming on IBM i (RPG400-L) mailing list
> > > To post a message email: [email protected]
> > > To subscribe, unsubscribe, or change list options,
> > > visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
> > > or email: [email protected]
> > > Before posting, please take a moment to review the archives
> > > at https://archive.midrange.com/rpg400-l.
> > >
> > > Please contact [email protected] for any subscription
> related
> > > questions.
> > >
> > >
> > --
> > This is the RPG programming on IBM i (RPG400-L) mailing list
> > To post a message email: [email protected]
> > To subscribe, unsubscribe, or change list options,
> > visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
> > or email: [email protected]
> > Before posting, please take a moment to review the archives
> > at https://archive.midrange.com/rpg400-l.
> >
> > Please contact [email protected] for any subscription related
> > questions.
> >
> >
> --
> This is the RPG programming on IBM i (RPG400-L) mailing list
> To post a message email: [email protected]
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: [email protected]
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/rpg400-l.
>
> Please contact [email protected] for any subscription related
> questions.
>
>
-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact [email protected] for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.