z/OS Example - FastExport

Teradata® FastExport Reference

Product
FastExport
Release Number
17.10
Published
June 2021
Language
English (United States)
Last Update
2021-07-01
dita:mapPath
qja1608578437326.ditamap
dita:ditavalPath
gel1618411995444.ditaval
dita:id
B035-2410
lifecycle
previous
Product Category
Teradata Tools and Utilities

The following procedure invokes FastExport on a mainframe-attached z/OS client system:

//FEXPRUN JOB 1,'FASTEXPORT',
//                              MSGCLASS=X,
//                              NOTIFY=FEXP,
//*                             TYPRUN=SCAN,
//                              CLASS=A
/*ROUTE PRINT TSO
//**************************************************
//*                                                *
//* FASTEXPORT PROC *
//*                                                *
//**************************************************
//*
//FEXP    PROC PRM=,INPUT=
//FEXPSTP     EXEC PGM=XPORT,PARM='&PRM'
//STEPLIB  DD DISP=SHR,DSN=TERADATA.APPLOAD
//         DD DISP=SHR,DSN=TERADATA.TRLOAD
//SYSPRINT DD SYSOUT=*
//OUTFILE  DD DCB=(NCP=20,RECFM=VB,LRECL=1024,BLKSIZE=32009),
//SYSIN    DD DISP=SHR,DSN=&INPUT
//         PEND
//**************************************************
//*                                                *
//* RUN FASTEXPORT *
//*                                                *
//**************************************************
//FEXPRUN EXEC PROC=FEXP
//FEXPSTP.SYSIN DD DATA,DLM=##
.
.
.
FastExport commands
.
.
.
//OUTPUT DD SYSOUT=*

FastExport does not automatically block output records. If the output need to be blocked:

  • Specify blocked data (for example, FB) in the record format (RECFM) parameter of the data control block (DCB)
  • Specify the block size in the BLOCKSIZE parameter of the DCB

To enhance I/O performance (at the cost of increased storage), increase the value of the network control program (NCP) parameter on an output DCB in JCL. The maximum value for NCP is 99. The additional storage required is the NCP value multiplied by the block size of the output device.