From: Andrew Dekreon To: All
Does anyone have a suggestion about how to clean up extra device descriptions quickly and easily? Due to moving terminals around, switching to PC Support, and changing from twinax to token ring, we have quite a few obsolete device descriptions created by auto configuration (system value QAUTOCFG set to 1) cluttering up our system. Any shortcuts would be appreciated.
From: David Wallen To: Andrew Dekreon
You can use the Display Object Description (DSPOBJD) command to create an outfile containing all of your device descriptions.
DSPOBJD OBJ(QSYS/*ALL) + OBJTYPE(*DEVD) + OUTPUT(*OUTFILE) + OUTFILE(xxx/DEVDS)
The outfile contains a last used date field called ODUDAT that you can use to determine what devices may be candidates for deletion. You could read through the file and delete all those devices that have not been used in 30 days (or whatever limit you impose). One word of warning-I would avoid deleting any IBM device descriptions (e.g., those that start with Q).