Load SMA Tables from a Tape and Copy Data Sets to Disk

This section provides an overview of the parameters used during loading of SMA tables and copy steps.


Loading the SMA Tables from a Tape (Tabload)

During the loading of SMA tables from a tape (Tabload), the library group definition is taken from the global variable VSE-LIB-GROUP and is stored into the field Library Grp for each data set on the tape (see Copy Parameters screen below).

 08:31:54              ***  SYSTEM MAINTENANCE AID  ***              2005-10-10
 User:  SAG                   - Copy Parameters -                      TPCDSM11
 Volser .....  T78063
 Name on tape  ADA743.LIBR
 Description .........  VSE LIBR backup S=SAGLIB.ADA743
 Symbolic Dataset Name  ADA743.LIBR
 Dataset Organization   PS-SUB
 Size (Kilo byte) ....  652 
  
 Dataset created on ..  2005-10-07  08:01:50
 Dataset copied on....
 RESTORE on SUBLIB ...   ADA743
 
 Library Grp   SAGLIB______________
 Name on Disk  ________________________________________________________________
 Disk .......  ______
 Device Type   ________

 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit                                                  Canc

To change the library group after loading the SMA tables from a tape, go to each data set (T(ape) > DA(taset) > MO(dify)) and change the Library Grp field.

Note:
A change of the global variable VSE-LIB-GROUP after loading from a tape will have no effect on the data set entries or copy steps.

Mark a Data Set for Copy

Enter the tape menu and the line command MA for a specific tape.

 09:07:18              ***  SYSTEM MAINTENANCE AID  ***              2005-10-10
 User:  SAG                  - Datasets On Tape -                      TPPDSM11
 Page:  3   sorted by   Volser: T78063                                Rec: 0062
      ---->
 Code Dataset Name      Description                     On Disk As            C
      *_______________  *_____________________________  *___________________  *
  __  ADA743.EMPL       Employees File       
  __  ADA743.ERRN       Error Messages File   
  __  ADA743.INPL       INPL dataset  
  MA  ADA743.Libr       VSE LIBR backup S=SAGLIB.ADA74  SAGLIB.ADA743       
  __  ADA743.MISC       Miscellaneous file 
  __  ADA743.Z000       VSE 000.Zap Summary 
  



 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit  Sort  Prnt  --    -     +     ++          >     Canc

If you mark (MA) a data set for copy, the data set field Name on Disk Disk (see below) will be filled with the value of Library Grp and RESTORE on SUBLIB. The field Library Grp has already been stored at load time (Tabload). A mark for copy will also be performed automatically by SMA, if a JCL generation from a user environment is performed. All data sets that are needed more than once during installation or operation of the product, (i.e. LIBR or correction data sets L00n) will be marked for copy by SMA, before the job generation starts. Other data sets that are needed only once (i.e. INPL or ERRN data sets) will always be loaded directly from tape.

Enter the line command MO for a specific data set on tape.

 08:31:54              ***  SYSTEM MAINTENANCE AID  ***              2005-10-10
 User:  SAG                   - Copy Parameters -                      TPCDSM11
 Volser .....  T78063
 Name on tape  ADA743.LIBR

 Description .........  VSE LIBR backup S=SAGLIB.ADA743
 Symbolic Dataset Name  ADA743.LIBR
 Dataset Organization   PS-SUB
 Size (Kilo byte) ....  652
  
 Dataset created on ..  2005-10-07  08:01:50
 Dataset copied on....  2005-10-10  08:38:54
 RESTORE on SUBLIB ...  ADA743
 Library Grp   SAGLIB______________
 Name on Disk  SAGLIB.ADA743_____________________________________________
 Disk .......  SAGVOL
 Device Type   3390___


 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit                                                  Canc

Generate Copy Job from the Tape Menu

Enter the tape menu and the line command JC (Generate JCL).

 09:10:29               ***  SYSTEM MAINTENANCE AID  ***             2005-10-10
 User:  SAG                    - Archived Tapes -                      TPVOLM11
 Page:  1   sorted by                                                 Rec: 0001
      ---->
 Code Volser   Description                                Add Date
      *______  *_______________________________________   *__________
  JC  T78063   ADABAS ADA743                               2005-10-07





 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit  Sort  Prnt  --    -     +     ++          Prod  Canc

The copy job will be generated.

 10:09:03                *** SYSTEM MAINTENANCE AID ***              2005-10-10
 User:  SAG                 - Generated Tape Jobs -                    TPJOBM11
 Reposition to Job: ________                  Tape: T78063
   Cmd        Job             Description                        Status
    __        T063            COPY DATASETS FROM TAPE            Open




 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit  --    ++          -     +     Print             Canc

The involved skeletons for copying data sets all start with COPY-* (i.e. COPY-PS-SUB, COPY-CD...). Depending on the Dataset Organization in the data set parameters the corresponding skeleton will be selected. (i.e. if the Dataset Organization parameter is PS-SUB, then the skeleton COPY-PS-SUB is selected).

Generate Copy Job from User Environment

Enter the environment menu and the line command JC (Generate JCL).

 07:31:52           ***     SYSTEM MAINTENANCE AID     ***           2005-09-27
 User:  SAG               - Environment Maintenance -                  ENMENM11
 Page: 1
                                                              Rec: 0007
 Code Environment    Description
      *_______       *_________________________________________________
  JC  PROD1          PRODUCTION 1
  __  PROD2          PRODUCTION 2
  __  SMA            SMA INSTALLATION
  __  TDEV           DEVELOPMENT
  __  TEST1          TEST INSTALLATION 1
  __  TEST2          TEST INSTALLATION 2
  __  VSE/SP         DEFAULT-ENVIRONMENT FOR VSE/SP    


 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit  Sort  Prnt  --    -     +     ++                Canc

The copy job will be generated.

07:51:23           ***     SYSTEM MAINTENANCE AID     ***           2005-09-28
 User:  SAG             - Generated Environment Jobs -                 ENJOBM11
 Page: 1                     Environment: PROD1                       Rec: 0021
 Code     Job           Description                            Status
          *_________    *_______________________________       *__________
  __      Report        Installation Guide                     Open
  __      T063          COPY DATASETS FROM TAPE                Open
  __      P060          READ ME; DO NOT SUBMIT                 Open
  __      I011          INSTALL TEMPORARY ADASVC               Open
  __      I020          ADABAS IOR PARM AND DE  SE             Open
  __      I055          ASSEMBLIES OF BATCH NATURAL            Open
  __      I088          LINK EDITS WITH ADALINK                Open
  __      I999          SMA COMMIT AND ENV. REPORT             Open


 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit        Prnt  --    -     +     ++    Refr        Canc

The LIB-GROUP parameter in the user environment PROD1 will be used.