Determining objects that are not saved

 

Determining the objects that are not saved is just as important as determining the objects that the system saved. The system may not save an object for two basic reasons.

Periodically verify your backup strategy by the following methods:

Use the information in the object description to determine when the system last saved the object. Base your method for doing this according to your save strategy. If you save entire libraries, you can verify the save date for every library on the system. If you save individual objects, you need to verify the save date for objects in all user libraries.

To verify save dates for libraries, you can do the following:

  1. Create an output file that has information about all the libraries by typing:
    DSPOBJD OBJ(QSYS/*ALL) OBJTYPE(*LIB) +
            OUTPUT(*OUTFILE) +
            OUTFILE(library-name/file-name)

  2. Use a query tool or a program to analyze the output file. The field ODSDAT contains the date that the object was last saved. You can sequence your report by this field or compare this field to some date in the past.

You can use a similar technique to check when the system last saved objects in a specific library.

 

Parent topic:

Verifying what the system saved