• Subject: Re(2): Bulk update of CL source file
  • From: "Mike Naughton" <mnaughton@xxxxxxxxxxxx>
  • Date: Wed, 04 Apr 2001 09:47:30 -0500

If you've got over 1,000 members to do, IMHO you should _definitely_ write
a program. In an earlier post, I outlined a general plan, but I'll be
happy to elaborate on it if you like. The key point is that the "extra"
stuff (declaring the variable, loading the variable from the file, etc.)
should all be the same from member to member, so your program can just add
it to each member at the appropriate points.

I speak from some experience -- I did our  Y2K conversion, and among other
things I had to convert dates in several hundred files (some
multi-member). I wrote a template of an RPG file-update program and then
put it in an array at the bottom of another program, which built a
file-specific version of this program for each file I needed to deal with.
It added the specific fields to be updated, etc. so I had zero manual
coding to do. I set up a string of CLPs that would start with a file
containing file and field names and end with all the programs that I
needed, compiled and ready to run.

Your project sounds very similar -- I'd encourage you to go for it. I'm
sure it can be done.

MIDRANGE-L@midrange.com writes:
>I suppose that is an option but will still require me
>to manually update in excess of 1000 members manually.
> I was hoping to avoid that.


Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA  01376
413-863-4357 x444
mnaughton@juddwire.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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-2019 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].