Problem solve Get help with specific problems with your technologies, process and projects.

Objects "not saved" during a backup

Here's a way to see the objects "not saved" during a backup.

You can find out which objects where not saved during your backup. Save time viewing DSPLOG lines. Create an Outfile and then run one SQL statement.

In your daily backup CL/400 program you can modify your code and add OUTPUT(*OUTFILE) parameter to store the results in an OUTFILE(QGPL/BACKUP)

 SBMJOB CMD(SAVLIB LIB(MYLIB) + 
           DEV(TAP01) +
           OUTPUT(*OUTFILE) +           
           OUTFILE(QGPL/BACKUP)) 

Start your SQL session with STRSQL

Type in the following select statement:

SELECT SRONAM, SROTYP, SROLIB FROM QGPL/BACKUP WHERE SROSTA = '0'

Fields Description:

 
SRONAM = Object Name
SROTYP = Object Type
SROLIB = Library
SROSTA = '0' Objects Not Saved 
SROSTA = '1' Objects Saved 

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.


Dig Deeper on Implementation

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close