home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR21 / DOCPRC13.ZIP / SAMP-DOC.ZIP / TAPEINFO.DOC < prev    next >
Text File  |  1992-11-08  |  10KB  |  122 lines

  1.                                                                                 
  2.                                                                                 
  3.                                                                                 
  4.                                                                                 
  5.                                                                                 
  6.                                                                                 
  7.                                                                                 
  8.                                                                                 
  9.                                                                                 
  10.                                                                                 
  11.                                                                                 
  12.                                                                                 
  13.                                                                                 
  14.                       *************************************                     
  15.                       *                                   *                     
  16.                       *          T A P E I N F O          *                     
  17.                       *  ON THE MVS/XA OPERATING SYSTEM   *                     
  18.                       *                                   *                     
  19.                       *************************************                     
  20.                                                                                 
  21.                                                                                 
  22.                                                                                 
  23.                                                                                 
  24.                                                                                 
  25.                                                                                 
  26.                                                                                 
  27.                                                                                 
  28.                                                                                 
  29.                                                                                 
  30.                                                                                 
  31.                                                                                 
  32.                                                                                 
  33.                                                                                 
  34.                                                                                 
  35.                                                                                 
  36.                                                                                 
  37.                                                                                 
  38.                                                                                 
  39.                                                                                 
  40.                                                                                 
  41.                                                                                 
  42.                                                                                 
  43.                                                                                 
  44.                                                                                 
  45.                                                                                 
  46.                                                                                 
  47.                                                                                 
  48.                                                                                 
  49.                                                                                 
  50.                                                                                 
  51.                                                                                 
  52.                                                                                 
  53.                                                        John S. Ward             
  54.                                                          03/15/93               
  55.  
  56. EJECT
  57.       There are now two ways to find information about your tapes: the          
  58.    user-executed TINFO procedure and the Operator-started tape information      
  59.    procedure.                                                                   
  60.                                                                                 
  61.    USER-EXECUTED TINFO PROCEDURE                                                
  62.                                                                                 
  63.       If you would like a list of the names of all the data sets on an          
  64.    IBM standard-labeled tape, you can execute the TINFO procedure.  Include
  65.    it in your JCL as follows:                                                   
  66.                                                                                 
  67.    //stepname  EXEC  TINFO,VOLSER=vvvvvv,DSN='data.set.name'                    
  68.                                                                                 
  69.    Where vvvvvv is the volume serial number of the tape, and                    
  70.    'data.set.name' is the name of the first data set on the tape (be sure       
  71.    to enclose the data set name in apostrophes).  The data set listing          
  72.    will be at the end of the output job log (screen 3.8), under the title       
  73.    TAPE DATA SET INFORMATION.  Since nonlabeled tapes do not have data set
  74.    labels, you cannot use TINFO for nonlabeled tapes.  If you are not sure
  75.    whether your tape has a standard label, or you do not know the name of       
  76.    the first data set on the tape, then refer to the operator-started           
  77.    procedure in the section below.                                              
  78.                                                                                 
  79.       Remember to execute the VOLUP procedure before any job step requiring     
  80.    a tape, or your job will be cancelled.  For more information on VOLUP,       
  81.    see SYS.MVS.UPDATE(VOLUP).                                                   
  82.                                                                                 
  83.       EXAMPLE: You want a list of the names of the data sets on a tape          
  84.    that has a volser of 123456, and whose first data set name is                
  85.    USERID.MY.TAPE.DATASET1.  To find out, simply run a job containing at        
  86.    least the following two steps:                                               
  87.                                                                                 
  88.    //step1  EXEC  VOLUP,VOLSER=123456,ACCESS=READ                               
  89.    //step2  EXEC  TINFO,VOLSER=123456,DSN=USERID.MY.TAPE.DATASET1               
  90.                                                                                 
  91.       Along with data set names, you will also get information such as          
  92.    the data sets' record formats, creation dates, block counts, and             
  93.    estimated lengths in feet.                                                   
  94.                                                                                 
  95.                                                                                 
  96.    OPERATOR-STARTED TAPE INFORMATION PROCEDURE                                  
  97.                                                                                 
  98.      If the TINFO procedure does not give you the information that you          
  99.    expected, or you do not know the name of the first data set on the           
  100.    tape, or you are not sure whether your tape is a standard-labeled or a       
  101.    nonlabeled tape, then you can have Operations run a special job for          
  102.    you.  Go to the the I/O window on the first floor of the BA building         
  103.    and fill out a "run sheet", requesting that an OPRTINFO be run for you.      
  104.    Include on the run sheet your userid, bin number, and the volser of          
  105.    your tape.  Operations will run the job and put the output in your bin.      
  106.    On the banner page of the print, the userid will be 'OPRTINFO FOR            
  107.    USER', and the jobname will be RACSYSTU.  There is a 24-hour turnaround      
  108.    time for this job.                                                           
  109.                                                                                 
  110.       If the tape has an internal (standard) label, then one of the pages       
  111.    of output will have the title TAPE DATA SET INFORMATION, and underneath      
  112.    it will be information on the contents of the tape, such as data set         
  113.    names and block sizes.  If the tape does not have an internal label,          
  114.    then it will not have data set labels, and the last page of output will      
  115.    have the title MVS/XA JOB OPRTINFO STEP OPRTINFO, and several lines          
  116.    below it might appear the message                                             
  117.                                                                                 
  118.    NOTE: NONSTANDARD LABEL FOUND WHILE READING VOLUME LABEL                     
  119.                                                                                 
  120.    Otherwise, no useful information will appear.                                
  121.                                                                                 
  122.