Add active logs


Perform the following steps to add an active log:

  1. On the Add/Remove Active Logs panel specify which active log or logs you want to add by using one of the following methods:
    • Type the name of the log in the active log commands input fields. You can type more than one log name in the input field.
    • Select an existing active log from the list of log data sets by typing S in the Act field next to the log data set.
  2. Type ADD on the Command line and press Enter to display the Add Active Logs Parameters panel.

    DDTG DBI1 Add Active Logs Parameters
    Command ===> _________________________________________________________________

    Names of Active Logs to be Added
    Copy 1 data set name . . . . DSNDBE.DBE1.LOGCOPY1.DS04___________________
    Copy 2 data set name . . . . ____________________________________________

    Add Active Log Command Parameters
    New log position in BSDS . . _____ (NEXT, FIRST, LAST, or a number)
    Archive log . . . . . . . . ____________________________________________
    (? for list of archive logs)
    Model allocation similar to. ____________________________________________
    (? for list of active logs)
  3. (Optional) Specify the physical position of the new log entries in the BSDS by typing one of the following positions in the New log position in BSDS field:
    • FIRST—before all logs in the BSDS
    • NEXT—immediately after the current log in the BSDS
    • LAST—at the end of all logs in the BSDS (default)
    • a number that explicitly places the log in the BSDS at that location (for example, type 3 to make the log the third log in the BSDS). The number must be a number between 1 and the number of logs plus 1
  4. (Optional) Specify an archive log whose RBA and timestamp information you want to use as a model to initialize the active log or logs that you are adding.
    • If you know the archive log name, type the name in the Archive log field.
    • If you do not know the archive log name, type a question mark (?) to display the Archive Log Selection panel

      DDTG DBI1 Archive Log Selection   Row 1 of 52
      Command ===> ________________________________________________ Scroll ===> PAGE

      Select an archive log to be used as a model in the ADDLOG command. Then press Enter.
      S=Select

      Sel Archive Log Data Set Name Copy Start RBA End RBA
      .. DBBMCAT.ARCHLOG1.A0000168  1 0000B1C70000 0000B20A7FFF
      .. DBBMCAT.ARCHLOG1.A0000171 10000B2B76000 0000B3C55FFF
      .. DBBMCAT.ARCHLOG1.A0000172  1 0000B3C56000 0000B408DFFF
      .. DBBMCAT.ARCHLOG1.A0000173  10000B408E000 0000B516DFFF
      .. DBBMCAT.ARCHLOG1.A0000174  1 0000B516E000 0000B624DFFF
      .. DBBMCAT.ARCHLOG1.A0000175  1 0000B624E000 0000B732DFFF
      .. DBBMCAT.ARCHLOG1.A0000176  1 0000B732E000 0000B7765FFF
      .. DBBMCAT.ARCHLOG1.A0000177  1 0000B7766000 0000B8845FFF
    • Select an archive log by typing S in the Sel field next to the desired archive log and press Enter.

  5. (Optional) You can create the log data set at the same time you add it, but you must specify an archive log to use as a model for the created log data set.
    • If you know the name of the archive log you want to use, type the name of the log in the Model allocation similar to field in the Add Active Logs Parameters panel.
    • If you do not know the name of the archive log you want to use, type a question mark (?) in the Model allocation similar to field in the Add Active Logs Parameters panel and press Enter to display the Model Log Selection panel.

      DDTG DBI1 Model Log Selection   Row 1 of 12
      Command ===> ________________________________________________ Scroll ===> PAGE

      Select the name of the log to be used as a model for allocating the logs to be added.
      S =Select DD =Display Data Component Info DV =List Volume Info

      Sel Log Data Set Name Copy Status  Rem
      .. DBBMCAT.LOGCOPY1.DS01  1 REUS    Y
      .. DBBMCAT.LOGCOPY1.DS02  1 REUS      Y
      .. DBBMCAT.LOGCOPY1.DS03  1 NREUS,CUR    N
      .. DBBMCAT.LOGCOPY1.DS14  1 REUS    Y
      .. DBBMCAT.LOGCOPY2.DS14  2 REUS  Y
      .. DBBMCAT.LOGCOPY2.DS15  2 REUS,TRUN  Y
      .. DBBMCAT.LOGCOPY2.DS16  2 REUS  Y
      ******************************* Bottom of data ********************************
    • Select an archive log by typing S in the Act field next to the desired archive log and press Enter
  6. Issue the command from the Command Confirmation panel by typing 1 in the selection field and pressing Enter. To cancel the command, type 2 in the selection field and press Enter.

   The log will be added using the parameters you have specified.

Related topic


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*