|
Dwayne, Try working with the files in QTEMP. I don't think that that would be locked by the backup. If not, create a special work library that only has your work files in it, and exclude it on the OMITLIB parameter of the SAVLIB command. You should include a way to recreate this work library in case of an disaster recovery situation. Steve Morrison Beacon Insurance 940-720-4672 -----Original Message----- From: Dwayne Allison [mailto:Dwayne.Allison@xxxxxxxxx] Sent: Thursday, September 16, 2004 10:10 AM To: Midrange Systems Technical Discussion Subject: Keep File from locking in back or keep it from backup Hello, I have a file that I use to monitor our backup. Here are the steps: 1) The backup starts 2) My CL program submits, clear BJBW001F and BJBW002F before I {CPYSPLF FILE(QPDSPAJB) TOFILE(BJBW001F) SPLNBR(*LAST)} and {CPYF FROMFILE(BJBW001F) TOFILE(BJBW002F}. 3) The problem I have is the backup locks my two files. Should I take the clear out and delete the record after I gotten the job information. I use this command to capture the backup job number as I monitor it. Or is there away to stop the backup from backup up these files. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.