Monday, February 27, 2012

HOW TO COPY FROM ONE FILE TO ANOTHER

1.       /A  TS301 – ENTER
2.       F – ENTER è FILEAID
3.       3 – ENTER è UTILITIES
4.       3—ENTER è COPY
5.       YOU WILL GET THIS SCREEN

                Specify "FROM" Dataset Information:                                                     
               Dataset name        ===>       'AATCPS.NM.XSCM7364.OSCC(0)'        è GDG/FILE èFROM WHICH U WANT TO COPY(MAIN FILE/SOURCE FILE)                   
                   Volume serial    ===>                                     (If not cataloged)                
                                                                                                                               
                Specify "TO" Dataset Information:                                                              
                   Dataset name   ===>       'B05GSA.INFILE3'       è FILE WHERE U WANT TO COPY                                
                   Volume serial    ===>                                     (If not cataloged)                
                  Disposition          ===>       NEW              (OLD, MOD, NEW)    èIT WILL CREATE NEW FILE     (NEW FILE)          
                                                                                                                               
                                                                                                               
                Specify Execution Information:                                                
                   Process online or batch                    ===>       O                    (O = Online; B = Batch)           
                                            O è BATCH B è SUBMITTING JCL                                                  
                Specify Selection Criteria Information:              (E = Existing; T = Temporary;     
                   Selection criteria usage   ===>       T     M = Modify; Q = Quick; N = None)  èTEMPORARAY
                   Selection dataset name                   ===>                                                   
                   Member name                  ===>                       (Blank or pattern for member list)

6.       THEN IF U WANT THE MEMORY SPACE TO MORE , THEN CHANGE THAT MSPACE- ENTER
7.       PUT 1 è OPTION – ENTER
8.       SET FOR RECORDS (HOW MUCH REC’S U WANT, HOW MUCH RECS U WANT TO SKIP ETC)

File-AID --------------  Selection Criteria Options  --------------------------
                COMMAND ===>                                                                                 
                                                                                
                Specify Selection Criteria Options:                                           
                                                 Start at the following record key 
                                                 (both blank for start of dataset)       
                  Starting record key            ===>                                                          
                     - OR -                                                 OR         at the following RBA or RRN    
                  Starting RBA or RRN                       ===>                                                                  
                                                                               
                  Initial records to skip        ===>       40           then        skip this many records       
                                                                                
                Subsequent Selection Interval:                          then       repeat the following         
                    Records to select              ===>       20             - select this many records        
                    Records to skip                ===>       0                - then skip this many records     
                                                                 until                                    
                  Number of records to search           ===>       ALL          you have read this many records   
                  Number of records to select             ===>       20             or          selected this many records     
                                                                               
                SEQ/VSAM processing direction      ===>       F                    (F = Forward; B = Backward)        
                                                                                               
                                                                               
   Use      ENTER to return to selection criteria menu

9.       ENTER TO COPY A FILE .
10.    PRESS F3 TO VIEW IS FILE IS COPIED.

No comments:

Post a Comment