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

  1.                                                                                 
  2.                                                                                 
  3.                                                                                 
  4.                                                                                 
  5.                                                                                 
  6.                                                                                 
  7.                                                                                 
  8.                                                                                 
  9.                                                                                 
  10.                                                                                 
  11.                                                                                 
  12.                                                                                 
  13.                                                                                 
  14.                        *************************************                    
  15.                        *                                   *                    
  16.                        *         T A P E D U M P           *                     
  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.                                                         John S. Ward             
  52.                                                           03/15/93               
  53.  
  54. EJECT                                                                           
  55.         There are now procedures for producing listings of tape files in
  56.    both character and hex format.  These procedures allow you to determine
  57.    the logical record length (lrecl), format and block size of a non-labeled
  58.    foreign or library tape.  There is a CLIST called from TSO and a PROC
  59.    called from JCL.
  60.  
  61.  
  62.  
  63.    TAPEDUMP CLIST:
  64.  
  65.        From TSO:   TAPEDUMP DSN(DATA.SET.NAME) VOLSER(vvvvvv)
  66.  
  67.            The DSN and VOLSER parameters are required.  There are
  68.        additional parameters which you may supply or take the defaults.
  69.  
  70.        FSQN(1)      - File sequence number, defaults to 1.
  71.        LBL(NL)      - Label type, defaults to non-labeled.
  72.        EXPDT(98000) - Expiration Date/TMS, defaults to foreign tape.
  73.        COUNT(10)    - Count, the number of blocks to dump.
  74.  
  75.            This CLIST submits a batch job whose output may be viewed in
  76.        ISPF panel 3.8 and requeued for printing.
  77.  
  78.  
  79.  
  80.    TAPEDUMP PROC:
  81.  
  82.        From JCL: //STEP1 EXEC VOLUP,VOLSER=vvvvvv,ACCESS=READ
  83.                  //STEP2 EXEC TAPEDUMP,DSN='DATA.SET.NAME',VOLSER=vvvvvv
  84.                  //TDUMP.SYSIN DD *
  85.                   PRINT INFILE(TAPEDD) COUNT(n)
  86.                  /*
  87.  
  88.              The DSN, VOLSER, and COUNT parameters must be supplied.  The
  89.        COUNT parameter indicates the number of blocks to dump.  Please
  90.        note the space in front of PRINT, it must be included.  As in the
  91.        CLIST, there are additional parameters which may be supplied or
  92.        the default taken.
  93.  
  94.        FSQN=1      - File sequence number, defaults to 1.
  95.        LBL=NL      - Label type, defaults to non-labeled.
  96.        EXPDT=98000 - Expiration Date/TMS, defaults to foreign tape.
  97.  
  98.        If the DSN of a foreign tape is one that is illegal under MVS, it
  99.        must be enclosed in triple quotes:
  100.  
  101.            DSN='''BAD.DSN.1'''
  102.  
  103.