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

  1.                                                                                 
  2.                                                                                 
  3.                                                                                 
  4.                                                                                 
  5.                                                                                 
  6.                                                                                 
  7.                                                                                 
  8.                                                                                 
  9.                                                                                 
  10.                                                                                 
  11.                                                                                 
  12.                                                                                 
  13.                                                                                 
  14.                        *************************************                    
  15.                        *                                   *                    
  16.                        *            T C O P Y              *                    
  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.                                                         John S. Ward            
  53.                                                           03/15/93              
  54. EJECT                                                                           
  55.                                                                                 
  56. EJECT                                                                           
  57.       You can use the TCOPY procedure to copy the contents of one of            
  58.    your tapes on to another tape.  The output tape must already have been
  59.    initialized, and must have a valid external label.  Also, any  current
  60.    contents of the output tape will be written over by the contents of          
  61.    the input tape.                                                              
  62.                                                                                 
  63.       TCOPY can be used to copy the following kinds of tapes:                   
  64.                                                                                 
  65.       IBM standard labeled to IBM standard labeled  (SL to SL)                  
  66.       IBM standard labeled to nonlabeled  (SL to NL)                            
  67.       nonlabeled to nonlabeled  (NL to NL)                                      
  68.                                                                                 
  69.    TCOPY cannot copy nonlabeled (NL) tapes to standard labeled (SL) tapes.      
  70.                                                                                 
  71.       To execute TCOPY, include the following command in your JCL:              
  72.                                                                                 
  73.    //stepname  EXEC  TCOPY,VIN=iiiiii,VOUT=oooooo,DSN='first.data.set',         
  74.    //     LIN=labelin,LOUT=labelout,DENOUT=density,EXPDT=nnnnn                  
  75.                                                                                 
  76.    Where                                                                        
  77.                                                                                 
  78.       iiiiii...is the volume serial number of the input tape.                   
  79.       oooooo...is the volume serial number of the output tape.                  
  80.       'first.data.set'...is the name of the first data set on the input         
  81.          tape.  It must be enclosed in apostrophes.  If the tape is
  82.          nonlabeled, simply make up a name consisting of the userid and         
  83.          one or more qualifiers.                                                
  84.       labelin...is the type of internal label on the input tape: LIN=SL         
  85.          for IBM standard labeled tapes, or LIN=NL for nonlabeled tapes.        
  86.          The default is LIN=SL.                                                 
  87.       labelout...is the type of internal label on the output tape: LOUT=SL      
  88.          for IBM standard labeled tapes, or LOUT=NL for nonlabeled tapes.       
  89.          The default is LOUT=SL.                                                
  90.       density...is the number for the density of the output tape:               
  91.          DENOUT=3 for 1600 bits-per-inch tape, DENOUT=4 for 6250 bpi            
  92.          tapes.  The default is DENOUT=4.
  93.       nnnnn... is the expiration date of the output tape.  The default is
  94.          EXPDT=99000.  EXPDT=98000 is required to copy onto a private tape.
  95.                                                                                 
  96.       If you don't know the name of the first data set on the input tape,       
  97.    execute the procedure TINFO as follows:                                      
  98.                                                                                 
  99.    //stepname  EXEC  TINFO,VSN=vvvvvv                                           
  100.                                                                                 
  101.    Where vvvvvv is the volume serial number of the tape.  Look at the
  102.    output from the job, and the first data set will be the first on the         
  103.    list after the title TAPE DATA SET INFORMATION.                              
  104.                                                                                 
  105.       Remember to execute the VOLUP procedure before any job step             
  106.    requiring a tape, or, starting 02/03/86, your job will be cancelled.         
  107.    For more information on VOLUP, see SYS.MVS.UPDATE(VOLUP).  In the case
  108.    of TCOPY, you will need TWO VOLUP requests, one for each tape.
  109.                                                                                 
  110.       EXAMPLE: You want to copy the contents of a tape with a volser of         
  111.    123456 to a tape with a volser of ABCDEF, and you don't know the name        
  112.    of the first data set on tape 123456.  To find it out, you run a job
  113.    containing at least the following two steps:                                 
  114.                                                                                 
  115.    //step1  EXEC  VOLUP,VOLSER=123456,ACCESS=READ                               
  116.    //step2  EXEC  TINFO,VSN=123456                                              
  117.                                                                                 
  118.       You look down near the bottom of your job output (screen 3.8) and         
  119.    find that the name of the first data set is, say, ASDFJK.MINE.DATA.          
  120.    You use this information in the tape copy job, which will contain at         
  121.    least the three following steps:                                             
  122.                                                                                 
  123.    //step1  EXEC  VOLUP,VOLSER=123456,ACCESS=READ                               
  124.    //step2  EXEC  VOLUP,VOLSER=ABCDEF,ACCESS=WRITE                              
  125.    //step3  EXEC  TCOPY,VIN=123456,VOUT=ABCDEF,DSN='ASDFJK.MINE.DATA'           
  126.                                                                                 
  127.       If the external label on your output tape is ABCDEF, but the tape         
  128.    itself is nonlabeled, step3 in the above example would look like this:       
  129.                                                                                 
  130.    //step3  EXEC  TCOPY,VIN=123456,VOUT=ABCDEF,DSN=ASDFJK.MINE.DATA,            
  131.    //     LOUT=NL                                                               
  132.                                                                                 
  133.       If the volup request is granted, your tape will be copied.                
  134.