Search400.com member Dave George says the CPROBJ command (Compress Object) is one of his favorites. "It's self-explanatory...
and should be used against all that seldom-used junk that is left hanging around," he says.
Here's Dave's tip for using CPROBJ:
The CPROBJ command allows you to compress programs, panel groups, menus, display files, printer files, modules and service programs.
- Compressed Objects are objects that consume less storage space than decompressed objects. When a compressed object is used or a compressed program is called, a decompressed version of the object automatically becomes available to the user.
- Decompressed Objects are objects that use the system storage space allocated to them and are in a final, ready-to-use state.
- Temporarily Decompressed Objects are temporarily decompressed copies of compressed objects. The system allocates storage space for the temporary copies until the system or the user determines that the temporary storage space needs to be reclaimed.
Example: Program DLTMQMMSGR is a little-used utility program of mine. Before compression it occupies 704,512 bytes. After compression, the program occupies 229,376 bytes. A huge saving! Used with a wildcard and with the "days unused" parameter, this command can compress unused objects in libraries making significant savings in DASD.
Don't look for the command with a GO CMDCPR, because you won't find it! But you can find it with a GO CMDOBJ."