HP Integrity NonStop J-Series User Manual

Page 204

Advertising
background image

MAINTAINING AN APPLICATION
Reclaiming Disc Space

-----------------------------------------------------------------
| |
| When this command is entered, SCUP displays: |
| |
| $DATA.ENAB.POBJ |
| PROGRAM (VERSION) ACCESS SIZE COMPILATION VER/DATE |
| EMPLOYEE-PROG (1) ON 4096 (E06) 04 SEPT 1983 11:43:14 |
| EMPLOYEE-PROG (2) ON 4096 (E06) 29 SEPT 1983 20:17:16 |
| EMPLOYEE-PROG (3) ON 4096 (E06) 10 JAN 1984 13:40:18 |
| EMPLOYEE-PROG (4) ON 4096 (E06) 15 FEB 1984 15:23:32 |
| |
| STEP 5: Enter the DELETE command to delete all versions |
| except for the latest version from the directory |
| file. |
| |
| In this example, the DELETE command deletes all versions |
| except for the latest version of "employee-prog." |
| |
| ?DELETE (employee-prog (+)) |
| |
| SCUP displays: |
| |
| $DATA.ENAB.POBJ |
| DELETED EMPLOYEE-PROG (1) |
| DELETED EMPLOYEE-PROG (2) |
| DELETED EMPLOYEE-PROG (3) |
| |
| To delete all but the latest versions of all files, you |
| can enter: |
| |
| ?DELETE (*(+)) |
| |
| STEP 6: Enter the SCUP COMPRESS command to compress the code|
| file. |
| |
| In this case, COMPRESS reclaims the disk space used by the |
| deleted programs by compressing the code file "pobjcod": |
| |
| ?COMPRESS pobj |
| |
| SCUP renames the old object file "$data.enab.aa777cod" (for |
| recovery purposes) and then purges "$data.enab.aa777cod" |
| when compression is complete: |
| |
| COMPRESS $DATA.ENAB.POBJ |
| EMPLOYEE-PROG (4) EMPLOYEE-PROG (1) |
| OLD FILE $DATA.ENAB.POBJ RENAMED TO $DATA.ENAB.AA777 |
| COMPRESSED $DATA.ENAB.POBJ |
| |
-----------------------------------------------------------------

Figure 10-1. Using SCUP to Reclaim Disc Space (Continued)

10-6

Advertising
This manual is related to the following products: