We have seen a significant increase in the time it takes to run our weeklty backup which is a simply CL program calling RUNBCKUP(*WEEKLY). According to the log, it looks like it sits and does "nothing" for hours and hours. See the two log entries below:
CPC2197 Completion 00 05/24/08 00:23:25.289040 QLICHLBL QSYS 013C BK_WKL2004 SCCOSYS 0059
Message . . . . : Library DTM400V2 removed from library list.
Cause . . . . . : If the RMVLIBLE command was used, DTM400V2 was removed from the user library list. If the CHGSYSLIBL command was used, DTM400V2 was removed from the system portion of the library list.
CPC2198 Completion 00 05/24/08 00:23:25.319952 QLICHLLE QSYS 01A3 BK_WKL2004 SCCOSYS 0068
Message . . . . : Current library changed to *CRTDFT. Cause . . . . . : The current library in the library list was changed to *CRTDFT.
CPI6705 Information 00 05/24/08 10:07:45.513192 QTAERR QSYS 00EA QSRSVDEQ QSYS 0499
Message . . . . : 537 blocks processed for sequence 1, volume BACK01, on device TAP06.
Cause . . . . . : 537 blocks were processed for file label QFILEUPR, sequence 1 for volume BACK01 loaded on device TAP06. The maximum block size is 262144. The tape file was opened at 05/24/08 06:47:16 and closed at 05/24/08 10:07:45. The total time the file was open was 12029 seconds. If the device is a tape library the cartridge is *N and the resource is *N.
You can see it sits from 00:23 to 6:47 when it starts writing to tape. It is doing some processing. The reference to QFILEUPR indicates it is processing security data. My research so far leads me to think it has something to do with Private Authorties, but I was hoping someone out there had more insight or experience witht his.
Software/Hardware used:
ASKED:
May 29, 2008 9:01 PM
UPDATED:
April 23, 2010 6:55 AM
I agree with Martin that you most likely are affected by object locks. I suspect the command runs with “save while active” options, and the defaults are 120 seconds to wait for each object is locked. I assume the runbkp command would do so as well. I’d also recommend that you display the tape to confirm that you are getting what you need backed up.
You might also consider creating your own cl with savsec, savlib, etc, so that is you need to end a subsystem you can do so that is timely for your applications.
Hi,
If this is a WEEKLY backup, should it not be in restricted condition to prevent locks and give the ablility to have a Full backup? When a backup is running and the objects are locked the system waits 120 seconds for each object just as AnchorS said.
TPinky