× 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 Wed, Aug 2, 2017 at 12:01 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:
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.

This is what I would do also. (It *is* what I did for myself, except I
*do* use PDM, so I used iSeriesPython instead of CL, and dispensed
with a separate command, opting instead for a PDM option that directly
invokes Python.)

One thing that comes up with this approach is what to do when your
program name is too long to tack anything onto it. (This is really an
issue with keeping your source in physical files more than anything
else.) Not only is there the immediate case of 10-character member
names, but also how do you ensure that a 9-character name with a
suffix tacked on won't happen to be the same as another member that
already exists?

So, I realize this is quite a whopper of a tangent, but if you really
want to be safe (in the sense that you never, ever automatically
clobber the existing member), you could keep the archived copy in an
IFS stream file, where you're free to come up with a naming convention
that is much, much more resistant to collisions (in case you want to
keep more than one archived version).

I've been thinking it would be kind of fun to implement this myself,
though I start to wonder when I've crossed the line into "why not just
use Git already".

John Y.

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.