OS | z/OS Examples | Teradata FastLoad - 17.10 - OS z/OS Example - FastLoad

Teradata® FastLoad Reference

Product
FastLoad
Release Number
17.10
Published
June 2021
Last Update
2021-07-01
Content Type
Programming Reference
Publication ID
B035-2411-061K
Language
English (United States)

The following table shows an example procedure for the OS command used on an z/OS client system.

Example Procedure for OS Command on z/OS Client System 
Command Example
TSO Setup Procedure Before using the OS command on z/OS, the time-sharing option (TSO) must be set up to run Teradata FastLoad interactively, as in the following example:
/***************************************************************/
/*                                                                    */
/*   THIS CLIST INVOKE IBM_C  VERSION OF FASTLOAD.                    */
/*                                                                    */
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/*                                                                    */
/*     PARAMETER   USE                                                */
/*     =========   ===                                                */
/*     DBCPFX    = HIGH LEVEL QUALIFIER FOR "APPLOAD" LIBRARY.        */
/*                 DEFAULT IS "DBC".                                  */
/*                                                                    */
/***************************************************************/
PROC 0 DBCPFX(<APPLOAD LIBRARY>)
CONTROL NOMSG PROMPT
WRITE 'FASTLOAD CLIST TTU14.10'
ALLOC FI(CTRANS) DA('IMB_C LinkLib') SHR
ALLOC FI(SYSIN) DA(*)
ALLOC FI(SYSPRINT) DA(*)
ALLOC FI(SYSOUT)   DA(*)
ALLOC FI(SYSTERM)  DA(*)
CALL '&DBCPFX..APP.L(FASTLOAD)'
FREE FI(CTRANS,SYSIN,SYSPRINT,SYSOUT,SYSTERM)
EXIT

where the following is true:

  • <APPLOAD LIBRARY> is the fully qualified name of the load library containing Teradata FastLoad and CLIV2 components.
    Unlike batch, TSO does not support concatenated load libraries.
  • <IBM C Linklib> is the fully qualified name of the IBM C link library.
Input data sets can be allocated and freed.
TSO Command After setting up TSO to run Teradata FastLoad interactively, the Teradata FastLoad OS command can be used to enter any valid TSO command:
  OS <TSO command>;