Views:

Summary



It can be useful to get a listing of all the tapes being used for jobs in the catalog.

Step By Step



  1. login to syncui utility.

    Windows syncui procedure 
    Start a DPX command from the start menu ( right click run as administrator) 
    syncui 
     
  2. Connect to master server.

    c s [MASTERSERVERNAME]
    Missing module name, default: ssdatmgr
    Connecting to ssdatmgr at host MASTERSERVERNAME
    Connected to ssdatmgr, Version 2.1.5 at host MASTERSERVERNAME on socket 0. Module parm:

    BEX command c s completed
    Enter BEX command or quit to quit


     
  3. Login to database.

    db login sysadmin [SYSADMINPASSWORD]
    Sending DB LOGIN on socket 0
    Total records received = 0.
    Request return code = 0
    BEX command db login completed
    Enter BEX command or quit to quit


     
  4. Enter tvol listjobs command to get the tape volume listing (example of output below).  The listjobs command has many options that can further refine the output: ( (volser)(job)(jtype)(jbid)(bytes)(dev)(pa#)(jbox)(prodir)

    tvol listjobs 
Sending TAPEVOLUME LISTJOBS on socket 0
volser jobname                  jobtype          jobid
      size(KB) devicename                                       part# cluster
                     last_written
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
----------
DSK011 catalog                                            BACKUP_CATALOG   15361
47540     5664 DISKDIR2                                             1 DISKDIR2
                     1536147548
DSK012 catalog_backup                                     BACKUP_CATALOG   15362
19406     5888 DSK001                                               1 DISKDIR
                     1536219414
  1.  quit