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=*
Note: FastExport does not automatically block output records. If the output need to be blocked:
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.