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


  • Subject: Re: how to test using MIMIX mirrored files
  • From: Martin Rowe <martin@xxxxxxxxxx>
  • Date: Fri, 25 Aug 2000 20:25:14 +0100
  • Organization: Jamaro

On Fri, 25 Aug 2000, "Stone, Joel" <StoneJ@GourmetAward.com> wrote:
> I want to run a test program using output files in my personal library, but
> with input from production data.  A convenient place to get production data
> is from copies of production files created by Mimix.
> 
> Mimix has a lock condition of *EXCLRD for CUSTFILE.  The program I am
> testing opens CUSTFILE as update, but I want to OVRDBF FILE(CUSTFILE)
> INHWRT(*YES) so that any updates will be ignored.
> 
> Unfortunately OS/400 will not allow this override to ignore updates - I
> cannot seem to get past the OPEN CUSTFILE in the RPG program.
> 
> Is there a way I can use these files when testing my pgm changes???
> 
> Thanks!

Hi Joel

Do you have sufficient disk space to duplicate the required file(s)
and data to your library? That's the way I tackle it. 

If you have more than a few files to deal with you could try my DBG/400
utilities - they were designed for exactly this setup (in my case
mirrored via OMS). The tools help set up a test environment (library)
with the files (input and/or updated) your program(s) use(s), and then
populate your test environment with a copy, or just a subset[1], of real
data. See my .sig for the URL. 

Regards, Martin
[1] Uses an SQL scripting tool to do this - very easy to set up.
-- 
martin@dbg400.net / jamaro@firstlinux.net
http://www.dbg400.net DBG/400 - DataBase Generation utilities 
Free test environment tools for the AS/400
+---
| 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
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.