×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

AS/400 daily backup issues

AS/400 daily backup issues

AS/400 daily backup issues

(OP)
I am having an automated daily backups failing with the error message.....

*Daily backup not successful or not complete (CPF1E68)

When I check the job log it says that... The *DAILY backup has finished, but one or more of the objects that you specified to back up were not saved.  The objects that were not saved may have been in use by another user.

How do I trace what user is logged on or why is the backup not complete?  

RE: AS/400 daily backup issues

One idea, depending on the user base you are supporting, is to set the workstation, idle timer. I am not sure if I have been clear about what it is. But the is a system value, that says,, after so many minutes of being at idle, it signs off the workstation. Like you have guesses.. some has a session on, and active for the object not to be saved.  What time of day do you run your auto backup??
 

RE: AS/400 daily backup issues

(OP)
The auto backups run around 12:30am when we are closed and no one can use the system.

I am unable to set the idle timer as that would cause problems. People tend to be in the middle of using the system and then they walk away to handle a customer.  If they are timed out it could cause an object to be locked.

I was hoping that there was an easy way to find who is leaving  themselves logged on all night.

RE: AS/400 daily backup issues

How about bringing down QINTER before the backup and back up after?

Is there a scheduled job that runs at night that could lock a file?

RE: AS/400 daily backup issues

Well you could try that,, not sure whihc sbusystem the backup runs in.. You could always set the time out interval for say 240 minutes,, which is 4 hours,, if there has been no activity for 4 hours,, that itself could be a problem, or a security issue, depending on who's session it is..

RE: AS/400 daily backup issues

(OP)
I tried a simple user fix, by yelling at them to log off. That did not work at all. So I set the time interval to 3 hours and that seems to have done it.



 

RE: AS/400 daily backup issues

LOL,, I love the comment about the simple user fix.. How Classic is that..  

RE: AS/400 daily backup issues

My response is a little late but I just joined tek-tips. Maybe it will be of use to someone else in the future.
If you display the joblog and use the find option you can search for 'not saved'. It should tell you the name of any objects not saved.
Then the question is are you using a CL program to do the backup. If so then in the CL, before the backup of the library I would put this command: WRKOBJLCK obj(thefilenamenotsaved) objtype(theobjecttype) output(*print). Put in your file name and your object type. The next morning the backup job should have a spool file showing who locked the file.
We scan the joblog of the backup every week or 2 for the literal 'not saved' to audit the backup.

 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close