通常は次の形式になります。
fexp -r '.RUN FILE fexp.startup;' < infilename > outfilename
サンプル コマンド:
fexp -r '.run file logon;' < samplescript.fexp
サンプル出力
=================================================================== = = = FastExport Utility Release FEXP.17.00.00.00 = = Platform WIN 64-bit = = PID 9752 = = = =================================================================== = = = Copyright 1990-2019 Teradata Corporation. ALL RIGHTS RESERVED. = = = =================================================================== **** 14:45:51 UTY2411 Processing start date: WED APR 24, 2019 =================================================================== = = = Logon/Connection = = = =================================================================== 0001 .logtable testrunfile; 0002 .logon NODEID/feuser,; **** 14:45:53 UTY8400 Teradata Database Release: 17.00.00.00 **** 14:45:53 UTY8400 Teradata Database Version: 17.00.00.00 **** 14:45:53 UTY8400 Default character set: ASCII **** 14:45:53 UTY8400 Current RDBMS has UDT support **** 14:45:53 UTY8400 Current RDBMS has Large Decimal support **** 14:45:53 UTY8400 Current RDBMS has Statement Info Parcel support **** 14:45:53 UTY8400 Current RDBMS has FEXP w/o Spooling support **** 14:45:53 UTY8400 Current RDBMS has TASM support **** 14:45:53 UTY8400 Maximum supported buffer size: 1M **** 14:45:53 UTY8400 Data Encryption supported by RDBMS server **** 14:45:55 UTY6211 A successful connect was made to the RDBMS. **** 14:45:55 UTY6217 Logtable 'FEUSER.testrunfile' has been created.