Retrieving Information from the Media Database through ISPF

This chapter includes the following topics:

OverviewLink copied to clipboard

The Control-M/Tape Inquire option (TI) is used to retrieve data from the Media database. You can use the Inquire option through ISPF option 3.4 (Data Set List utility). In order to use this feature, you must activate it following the procedure in Activating the Inquire option.

Using the Inquire Option (TI) through ISPFLink copied to clipboard

  1. From the first screen of the Data Set List utility, specify data set search values and produce a list of data sets based on these values.

  2. In the resulting list of the data sets, enter TI next to the data set name for which you want to retrieve information from the Media database. A screen similar to the following is displayed with the information from the Media database for that data set:

    Figure 52 Example Control-M/Tape Inquiry screen

    CopyCopied to clipboard
    ---------------------------  CONTROL-M/Tape Inquiry  -------------------------
    COMMAND ===>
     Data Set Name......: K27.TEST.TAPE
     General Information                         Creation Information
     Volser / Label num.: CTT026 / 00001         Date...........: 2006/01/23
     Status.............: ACTIVE                 Time...........: 10:13
     Media / Format.....: 3590     / 18TRACK     Job Name.......: K27AFCRE
     Record Format......: F                      Program Name...: CTTFCRE
     Record Size........: 00800
     Block Size.........: 0000000800             Last Used Information
     Number of Blocks...: 000002                 Access Mode....: CREATE
     Compressed Size....: 00000 KB               Date...........: 2006/01/23
     Uncompressed Size..: 00002 KB               Time...........: 10:13
     Vol Used Percent...: 000%                   Job Name.......: K27AFCRE
     Retention Information
     Retention..........: DATE 2006/01/26
     Volume Information
     Location / Slot....: MAINLIB  /             Volume Count...: 0001
     Secondary Volumes..:

Activating the Inquire Option (TI) through ISPFLink copied to clipboard

  1. In the TI member in the IOA.SAMPLE library, change the <&ILPREFA> string to the INCONTROL installation prefix (the value of the ICE variable &ILPREFA).

  2. Copy this TI member to one of the libraries that is allocated to the SYSEXEC DD statement under your TSO procedure.

  3. Add the following lines to your TSO procedure, and change the <&ILPREFA> string to the INCONTROL installation prefix.

    CopyCopied to clipboard
    //DAPARM DD DISP=SHR,DSN=<&ILPREFA>.PARM
    //       DD DISP=SHR,DSN=<&ILPREFA>.IOAENV