z/OS DFSMS Using the Interactive Storage Management Facility
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Copying a List of Data Sets with the COPY List Command

z/OS DFSMS Using the Interactive Storage Management Facility
SC23-6856-00

This example shows how to use the COPY list command to move a list of data sets from one device to another.

  1. Enter the COPY list command on the command line of the Data Set List Panel, as shown in Figure 1.
    Figure 1. Entering the COPY Command
       Panel  List  Dataset  Utilities  Scroll  Help
     -------------------------------------------------------------------------------
                                     DATA SET LIST
     Command ===>                                                  SCROLL ===> DATA
                                                              Entries 1-7 of 7
     Enter Line Operators Below:                              Data Columns 3-5 of 41
    
         LINE                                      ALLOC      ALLOC    % NOT  
         OPERATOR          DATA SET NAME           SPACE      USED     USED   
        ---(1)----  ------------(2)------------  ---(3)---  ---(4)---  -(5)-  
                    USER1.DEB.LISTING1           ---------  ---------    ---  
                    USER1.ISMF.SYSIN.D880125.          46K        40K     13  
                      T105441
            copy    USER1.ISPFILE                   139K      93K  33  
                    USER1.ISPPROF                     185K       185K      0  
                    USER1.SPFLOG1.LIST                371K       371K      0  
                    USER1.SPFTEMP1.CNTL          ---------  ---------    ---  
                    USER1.SPF3.LIST                   788K       778K      0  
        ----------  ------  -----------  BOTTOM  OF  DATA  -----------  ------  ----
    
    
    
    
     
  2. Press the ENTER key. ISMF displays the first page of the COPY Entry Panel as shown in Figure 2.
    Figure 2. Completing Page 1 of the COPY Entry Panel
       Panel  Utilities  Help                                                      
    ------------------------------------------------------------------------------
                               COPY COMMAND ENTRY PANEL               Page 1 of 13
    Command ===>                                                                  
                                                                                  
    Specify one or more for the 13 Data Sets:                                     
    Target Volumes        ===>           ===>           ===>          ===>        
      Percent Utilization ===> 100       ===> 100       ===> 100      ===> 100    
      Unit                ===>           ===>           ===>          ===>        
    Target Data Sets New First Level Qualifier  . . . . .                         
                                                                                  
    Select Where to Catalog Target Data Sets:                                     
      3  1. Do Not Catalog                    3. Default Catalog                  
         2. Same Catalog                      4. New Catalog                      
      Specify New Catalog Name . .                                                
    Optionally Specify one or more:                                               
     Replace Duplicates  . . . . . N  (Y or N)                                    
     Replace Unconditional . . . . N  (Y or N)                                    
     Reblock Target Data Sets  . . N  (Y or N)                                    
     RACF Model Data Set Name  . .                                                
     RACF Model Volume Serial  . .                                                
    Enter "/" to select option  .  /  View or Change Additional Copy Options      
    Use ENTER to Continue;                                                        
    Use HELP Command for Help; Use END Command to Exit.                           

    Complete the first page of the COPY Entry Panel with the values shown. Enter / in the VIEW OR CHANGE ADDITIONAL COPY OPTIONS field to take the last-used values on the other pages of the entry panel.

  3. Press the ENTER key. ISMF displays the Job Submission Entry Panel, as shown in Figure 3.
    Figure 3. Verifying the COPY Job Statement Information
       Panel  Utilities  Help
     -------------------------------------------------------------------------------
                               JOB SUBMISSION ENTRY PANEL
     Command ===>
    
     Select One of The Following
     1   1.  Submit Job for Background Processing
         2.  Save Generated Job in a Data Set
     If Save option is selected above, Specify:
      Data Set Name  . . .
      Replace Contents . . N             (Y or N)
    
     Job Statement Information:            (Verify before Proceeding)
           //USER10A  JOB (USER10,'B=050,D=M86,O=G48'),'USER10',
           //*       MSGCLASS=Z,NOTIFY=USER10,USER=USER10,
           //*       TIME=(0.5),MSGLEVEL=(1,1)
           //*
           //*
           //*
           //*
     Enter "/" to select option
        View or Change Execute Statements from Profile
     Use ENTER to Continue;
     Use HELP Command for Help; Use END Command to Exit.

    Verify the job statements on the COPY Job Submission Entry Panel.

    Enter / in the VIEW OR CHANGE EXECUTE STATEMENTS FROM PROFILE field.

  4. Press the ENTER key to submit the job. ISMF displays the data set list, as shown in Figure 4.
    Figure 4. Data Set List after Successful Submission of the COPY Command
       Panel  List  Dataset  Utilities  Scroll  Help
     -------------------------------------------------------------------------------
                                     DATA SET LIST                 COPY JOB CREATED
     Command ===>                                                  SCROLL ===> DATA
                                                              Entries 1-7 of  7
     Enter Line Operators Below:                              Data Columns 3-5 of 41
    
         LINE                                      ALLOC      ALLOC    % NOT  
         OPERATOR          DATA SET NAME           SPACE      USED     USED   
        ---(1)----  ------------(2)------------  ---(3)---  ---(4)---  -(5)-  
        *COPY       USER1.DEB.LISTING1           ---------  ---------    ---  
        *COPY       USER1.ISMF.SYSIN.D880125.          46K        40K     13  
        *COPY         T105441
        *COPY       USER1.ISPFILE                     139K        93K     33  
        *COPY       USER1.ISPPROF                     185K       185K      0  
        *COPY       USER1.SPFLOG1.LIST                371K       371K      0  
        *COPY       USER1.SPFTEMP1.CNTL          ---------  ---------    ---  
        *COPY       USER1.SPF3.LIST                   788K       788K      0  
        ----------  ------  -----------  BOTTOM  OF  DATA  -----------  ------  ----
    
    
    
    
     

    The asterisks next to each COPY command in the line operator column and the short informational message COPY JOB CREATED indicate that the job has been successfully submitted.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014