15.10 - Manually Deleting Checkpoint Files - Parallel Transporter

Teradata Parallel Transporter User Guide

Parallel Transporter
User Guide

Manually Deleting Checkpoint Files

Instead of using twbrmcp, you can delete the files manually. The procedure for manually deleting files varies depending on the operating system.

On UNIX or Windows Systems

  • To delete checkpoint files from a directory defined by Teradata PT, enter the following command:
  • On UNIX OS:
  • rm TPT_install_directory/checkpoint/*
  • On Windows:
  • del TPT_install_directory\checkpoint\*.*
  • To delete checkpoint files from a user-defined directory, enter the following command:
  • On UNIX OS:
  • rm <user-defined directory>/*
  • On Windows:
  • del <user-defined directory>\*.*

    On Z/OS

    On z/OS, you can remove checkpoint files with either of the following two methods:

    Method 1:

    1 Go to the Data Set Utility panel (panel 3.2) in the Primary Options Menu of the TSO System Productivity Facility.

    2 Enter the name of each checkpoint file in the name entry fields provided on this panel.

    3 Type D (for “delete”) for the requested dataset option.

    4 Hit Enter

    Method 2:

    Add a step to the beginning of your next Teradata PT job, with the following Job Control Language statements:

          //CPD1    DD DISP=(OLD,DELETE),DSNAME=<high-level qualifier>.CPD1
          //CPD2    DD DISP=(OLD,DELETE),DSNAME=<high-level qualifier>.CPD2
          //LVCP    DD DISP=(OLD,DELETE),DSNAME=<high-level qualifier>.LVCP

    where <high-level qualifier> is the high-level qualifier you supplied to the TBUILD JCL PROC when you submitted the job that created these checkpoint files. Or substitute the names of your checkpoint datasets for everything to the right of DSNAME= above, if you have a different convention for naming them.

    For examples of naming and using checkpoint datasets on z/OS “JCL Examples,” see the Teradata Parallel Transporter Reference.