|
I came late on this topic but you could also end the applies only and you would find that the locks go away. However you need to remember to activate the applies when you have finished coping the file. "Steve Raisor" <sraisor@earthlink.net> on 08/25/2000 02:42:07 PM Please respond to MIDRANGE-L@midrange.com To: MIDRANGE-L@midrange.com cc: (bcc: Chris S. Elliott/NetServ/DST/US) 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 ----- From: Stone, Joel To: 'MIDRANGE-L@midrange.com' 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??? +--- | 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 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.