× 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.



On 8/2/2017 9:36 AM, Greg Wilburn wrote:
In the process of upgrading a software package. I have source files/members and objects in a test library. I need to move these source members into the "production" source file.

I would like to be able to select a group of them to copy from the "test" to the "production" source member. I know I can do a copy/replace. But is there a way to do this so that the existing production source member would be renamed instead of replaced? (i.e. pgm123.rpgle renamed to pgm123X.rpgle)

I'm trying to avoid renaming the existing, production source members one-by-one.


I'd write a quick CMD + CLP combination to do the rename / copy (aka
promote to production?) Once that is debugged, add it to RDi as a User
Action. These function exactly like User Commands do in PDM. So you
could do something like

PROMOTE FROMFILE(testlib/&F)
FROMMBR(&N)
TOFILE(prodlib/&F)
TOMBR(&N)

... and the CLP would rename the current production member according to
your rules, then copy from test to prod. To use, open a filter / table
view, control-click each member, then right-click > User Actions >
PROMOTE and RDi will fill in the name of each file and member into your
command which will do all the scut work for you.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.