z/OS Example - FastExport

Teradata® FastExport Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
FastExport
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2024-03-18
dita:mapPath
jaa1691573250507.ditamap
dita:ditavalPath
gel1618411995444.ditaval
dita:id
rto1478610027076
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.