A sample JCL is included with the SAMPLIB dataset to execute the job script examples. It is member PT$TPTAL. It contains the Teradata PT cataloged procedure inline and has a jobstep for each script example.
The z/OS datasets are unconditionally deleted and reallocated for this sample job. This allows repeated execution without any user intervention. User intervention would not be desirable for most production scenarios.
The use of the mainframe specific -S parameter lists the public and private logs.
There are several changes necessary for proper execution of the job.
Another sample JCL, member PT$TPT01 (identical to PT$TPTAL), executes one sample script.