The typical selection is:
fexp -r '.RUN FILE fexp.startup;' < infilename > outfilename
Sample Command
fexp -r '.run file logon;' < samplescript.fexp
Sample Output
======================================================================== = = = FastExport Utility Release FEXP.20.00.00.01 = = Platform LINUX 64-bit = = PID 18577 = = = = FastExport Utility is DEPRECATED. = = It is provided to run existing workloads created = = prior to 07-SEP-2023. = = Please use Teradata Parallel Transporter for = = workloads. = = = ======================================================================== = = = Copyright 1990-2023 Teradata. All rights reserved. = = = ======================================================================== **** 05:07:54 UTY2411 Processing start date: FRI SEP 08, 2023 ======================================================================== = = = Logon/Connection = = = ======================================================================== 0001 .logtable FEXP_TABLE5; 0002 .logon TDPID/WEEKLY,; **** 05:07:54 UTY8400 Teradata Database Release: 20.00.00.00 **** 05:07:54 UTY8400 Teradata Database Version: 20.00.00.00 **** 05:07:54 UTY8601 Character set specified: ASCII **** 05:07:54 UTY8400 Current RDBMS has UDT support **** 05:07:54 UTY8400 Current RDBMS has Large Decimal support **** 05:07:54 UTY8400 Current RDBMS has Statement Info Parcel support **** 05:07:54 UTY8400 Current RDBMS has FEXP w/o Spooling support **** 05:07:54 UTY8400 Current RDBMS has TASM support **** 05:07:54 UTY8400 Maximum supported buffer size: 1M **** 05:07:54 UTY6211 A successful connect was made to the RDBMS. **** 05:07:54 UTY6217 Logtable 'WEEKLY.FEXP_TABLE5' has been created.