HP 3000 Manuals

Storing and Restoring Spoolfiles [ Controlling System Activity ] MPE/iX 5.0 Documentation


Controlling System Activity

Storing and Restoring Spoolfiles 

This section describes the storage of READY output spoolfiles to tape,
and their restoration to a system.  READY output spoolfiles are those
that have been completely formatted and are ready to send to a printer.
Storing is the process of creating a tape and saving READY spoolfiles to
it.  Restoring is the process of loading spoolfiles from a tape back onto
a system.  You may move spoolfiles from one system to another so long as
both systems operate in native mode.  For more information on
transferring spoolfiles to or from an unlike environment (such as
compatibility mode or a classic HP 3000), refer to the Native Mode 
Spooler Reference Manual (32650-90166).

When to Store Spoolfiles on Tape 

READY spoolfiles should be stored on a tape when:

 *  You want to shut down the computer and haven't enough time to print
    all pending reports.

 *  You have a spoolfile that needs to be kept, but it is not used enough
    to justify storing it online.

 *  You have a large and growing number of reports that need to be
    printed and less and less disk space on which to spool them.  By
    copying the less critical reports onto a tape, you can make space for
    those with higher priorities.

 *  You wish to print a long, time consuming report, but do not wish to
    tie up the printer at that time.  Copy the report onto a tape, then
    restore and print it when there is less demand on the printer.

 *  You want to move a spoolfile to a less heavily used computer.

Storing Files to a Tape 

A tape may be created at the discretion of the system operator or in
response to a tape request from a user with SM or OP capability.  In
either case, the system operator must answer back with the REPLY command.
This command is described in this manual and the MPE XL Commands 
Reference Manual (32650-90003).  A brief description follows.

Responding to a Tape Request 

To store a spoolfile to a tape, sends a tape request to the system
operator's terminal.  The request will be displayed in a form similar to
the following:

     ?10:00/#S82/30/LDEV# FOR "T" ON TAPE (NUM)?

where 30 is the users process identification number (pin), "T" identifies
the file equation used to specify the tape, and TAPE (NUM) is the request
to provide the logical device number of the tape drive to which the
user's spoolfile(s) will be copied.

On receipt of this message, the system operator mounts the appropriate
tape on a tape drive.  In this case, it is the tape drive known as ldev
14.  After mounting the tape the system operator enters:

     REPLY 30,14 


NOTE A request from a user causes the indefinite suspension of the requesting program. Therefore, the system operator should reply to a request as soon as possible. If the request cannot be fulfilled, the system operator replies by assigning a logical device number of 0 or by replying NO. This clears the request and permits the user program to resume running.
Storing Files on a Tape The system operator uses the following procedure to create a tape, store files to it, and delete the files from the system. Enter: FILE T;DEV=TAPE STORE @.OUT. HPSPOOL;*T;PURGE;SHOW FILE T;DEV=TAPE defines a file name "T" in class "TAPE", OUTPUT @.@ outputs files for all users and accounts, and PURGE removes the files from the system once each has been copied to the tape. Reply to the tape request for file "T". The system displays the data for each file as it is written to the tape: ____________________________________________________________________________ | | | | | SPOOLID JOBNUM FILEDES PRI COPIES DEV STATE RSPFN OWNER | | #0379 #J9 LP 100 MANAGER.FINPKG | | #0451 #J2 LP 40 MANAGER.FINPKG | | #0453 #J3 LP 40 MANAGER.FINPKG | | #0454 #J4 LP 40 MANAGER.FINPKG | | #0455 #J5 LP 40 MANAGER.FINPKG | | #0456 #J6 LP 144 MGR.TEMPACCT | | #0465 #J1 LP 40 MANAGER.FINPKG | | #0472 #J2 LP 40 MANAGER.FINPKG | | #0485 #S11 LP 224 MGR.IQSTEST | | #0492 #S14 LP 824 MGR.IQSTEST | | | ____________________________________________________________________________ * Verify that all files were purged from the system by entering: LISTSPF @ The system displays: ** This indicates that all the files were purged. ** Next, remove the tape from the tape drive and label it. The ;SHOW parameter produces a listing of files stored. You may enter ;SHOW=OFFLINE for an offline listing.


MPE/iX 5.0 Documentation