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 MVS-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  NAT414.JOBS
 Description .........  MVS Example jobs for installation
 Symbolic Dataset Name  NAT414.JOBS
 Dataset Organization   PO
 Size (Kilo byte) ....  1204
  
 Dataset created on ..  2005-10-07  08:01:50
 Dataset copied on....

 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 MVS-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
      *_______________  *_____________________________  *___________________  *
  __    *      COPY IN  GROUP: PROD3LIB                 PROD3LIB.BTE421.LD01   
  __  BTE421.LS01       MVS S01.LOAD CORRECTION
  __    *      COPY IN  GROUP: PROD3LIB                 PROD3LIB.BTE421.LS01   
  __  NAT414.ERRN       ERROR MESSAGES FILE
  __  NAT414.EXPL       EXAMPLE INPL FILE
  __  NAT414.INPL       INPL DATASET                    SAGLIB.NAT414.INPL
  __  NAT414.IS01       S01.INPL CORRECTION
  MA  NAT414.JOBS       MVS EXAMPLE JOBS FOR INSTALLAT  SAGLIB.NAT414.JOBS     
  __  NAT414.LOAD       MVS LOAD DATASET                SAGLIB.NAT414.LOAD
  __  NAT414.SRCE       MVS SOURCE DATASET              SAGLIB.NAT414.SRCE
  __  NAT414.SYSF       SYSTEM FILE                     SAGLIB.NAT414.SYSF
  __  NCF414.LOAD       MVS LOAD DATASET                SAGLIB.NCF414.LOAD
  __  NCF414.SRCE       MVS SOURCE DATASET              SAGLIB.NCF414.SRCE
  __  SMA131.ERRN       ERROR MESSAGES FILE
 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 fields Disk and Device Type (see below) will be filled from the global parameters MVS-LIB-GROUP-VOL and MVS-LIB-GROUP-UNIT. 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. LOAD or SRCE data sets) 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, unless the user marked them for copy manually (T > DA > MA).

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  NAT414.JOBS
 Description .........  MVS Example jobs for installation
 Symbolic Dataset Name  NAT414.JOBS
 Dataset Organization   PO
 Size (Kilo byte) ....  1204
  
 Dataset created on ..  2005-10-07  08:01:50
 Dataset copied on....  2005-10-10  08:38:54

 Library Grp   SAGLIB______________
 Name on Disk  SAGLIB.NAT414.JOBS_____________________________________________
 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   SMA211                                     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 copy data sets all start with COPY-* (i.e. COPY-PO, COPY-POE, COPY-PS...). Depending on the Dataset Organization in the data set parameters the corresponding skeleton will be selected. (i.e. if the Dataset Organization parameter is PO, then the skeleton COPY-PO is selected). The Library Group, Unit and Volume will be taken from the corresponding fields on the Copy-Parameters screen for the data set. Other values such as Expiration Date and Tape Unit will be taken from the default environment (OS/MVS).

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
      *_______       *_________________________________________________
  __  OS/MVS         DEFAULT-ENVIRONMENT FOR OS/MVS
  JC  PROD1          PRODUCTION 1
  __  PROD2          PRODUCTION 2
  __  SMA            SMA INSTALLATION
  __  TDEV           DEVELOPMENT
  __  TEST1          TEST INSTALLATION 1
  __  TEST2          TEST INSTALLATION 2






 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
  __      T955          COPY DATASETS FROM TAPE                Open
  __      P060          READ ME; DO NOT SUBMIT                 Open
  __      I005          CREATE TABLES FOR TP MONITOR           Open
  __      I008          ALLOCATE DATASETS                      Open
  __      I009          COPY DATASETS                          Open
  __      I010          INSTALL PERMANENT ADASVC               Open
  __      I011          INSTALL TEMPORARY ADASVC               Open
  __      I030          DEFINE AND FORMAT DATABASE             Open
  __      I040          ADABAS NUCLEUS                         Open
  __      I050          CREATE ADABAS FILES                    Open
  __      I055          ASSEMBLIES OF BATCH NATURAL            Open
  __      I056          AUXILIARY ASSEMBLIES                   Open
  __      I060          PARM + LINK BATCH NATURAL              Open
 Command ===>
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
      Help  Menu  Exit        Prnt  --    -     +     ++    Refr        Canc

The involved skeletons for copying data sets all start with COPY- (i.e. COPY-PO, COPY-POE, COPY-PS...). If the LIBGROUP parameter in the user environment differs from the Library Grp field in the data set entry:

  • the generated job will first copy the data set from the tape to the original Library Group (Library Grp field) if the data set has not been copied yet to that location and is set to mark for copy (manually or automatically by SMA)

  • afterwards a copy step will copy the data set from that original location to a data set with the LIBGROUP setting of the user environment.

Other values such as Expiration Date and Tape Unit will be taken from the values of the user environment.