• Subject: RE: how to test using MIMIX mirrored files
  • From: "Stone, Joel" <StoneJ@xxxxxxxxxxxxxxxx>
  • Date: Fri, 25 Aug 2000 17:03:43 -0400

Title: RE: how to test using MIMIX mirrored files
I do copy a few records for testing.  But as a final regression test, I like to run 10,000 records thru and compare the output of the old pgm vs the new pgm, and make sure nothing has changed (or only what I expected to change actually did change).
 
To run 10,000 orders thru, I pretty much need the entire file set for the company with all records.  I place an ovrdbf on them with inhibit write = *yes, and it works great.  Unfortunately, the Mimix lock doesnt allow me to ignore the open in update mode of RPG.
-----Original Message-----
From: Steve Raisor [mailto:sraisor@earthlink.net]
Sent: Friday, August 25, 2000 2:42 PM
To: MIDRANGE-L@midrange.com
Subject: Re: how to test using MIMIX mirrored files

Not with the locks Mimix is using.  However, you don't need to copy the whole file.  Just the file structure and the records that you want to deal with.  You can use cpyf or query to a outfile and then a cpyf.  You can even use QTEMP (if your lib list is setup right!) so that when you signoff you cleanup after yourself!!

Steve Raisor

----- Original Message -----
Sent: Friday, August 25, 2000 2:57 PM
Subject: RE: how to test using MIMIX mirrored files

Thanks - but some of the prod files are very large, and a ten minute test would take days to run (not to mention filling up disk space).

Isnt there any way to open an update file in RPG as input only for testing???

---------------------------------------------------------

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???

 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.