Runtime Parameters - FastExport

Teradata FastExport Reference

Product
FastExport
Release Number
15.00
Language
English (United States)
Last Update
2018-09-28
dita:id
B035-2410
lifecycle
previous
Product Category
Teradata Tools and Utilities

Runtime Parameters

Table 5 lists FastExport runtime parameters for mainframe‑attached configurations.

 

Table 5: Runtime Parameter Descriptions (Mainframe‑Attached Systems) 

Parameter

Description

BRIEF

Reduced print output runtime parameter that limits FastExport printout to the least information required to determine the success or failure of the job

CHARSET=charactersetname

Character set specification for the FastExport job

A character set name can be specified. The character set specification remains in effect for the entire FastExport job, even if Teradata Database resets, causing the FastExport job to be restarted.

Note: The character set specification does not remain in effect if the client system fails, or if the FastExport job is cancelled. In these cases, when resubmitting the job, use the same character set specification which was used on the initial job. If a different character set specification is used when a job is resubmitted, the data loaded by the restarted job does not appear the same as the data loaded by the initial job.

If a character set specification is not entered, then FastExport uses the specifications in the CallLevel Interface Version 2 (CLIv2) default files: HSHSPB for mainframeattached client systems.

Otherwise, the default is whatever character set is specified for Teradata Database whenever FastExport is invoked.

Note: When using UTF8 client character set on the mainframe, the client character set name needs to be specified by the runtime parameter (that is, CHARSET=UTF8). UTF8 is also a valid value.

Note: For other ways to specify the character set, see “Character Set Specification” on page 43.

ERRLOG=filename

Alternate file specification for FastExport error messages

On mainframeattached client systems, the alternate file specification is limited to eight characters and:

  • On z/OS, it must be a DDNAME defined in the JCL
  • There is no default error log filename specification.

    fastexport command

    Invocation option that can signify the start of a FastExport job

    It is usually a RUN FILE command that specifies the file containing the FastExport job script since only one command can be specified.

    Use the DD control statements to specify the input and output files before invoking the utility.

    MAXSESS = maxsessions

    Maximum number of FastExport sessions logged on to Teradata Database

    Maximum specification must be greater than zero and no more than the total number of AMPs on the system.

    Default is one session for each AMP.

    MINSESS = minsessions

    Minimum number of FastExport sessions required to run the job

    Minimum specification must be greater than zero.

    Default is 1.

    RVERSION

    Display version number and stop

    STATUS ON|OFF

    Fiveminute status reporting

    Use ON if enabled (the default) or OFF if disabled.

    Table 6 lists FastExport runtime parameters for network‑attached configurations.

     

    Table 6: Runtime Parameter Descriptions (NetworkAttached Systems) 

    Parameter

    Description

    < infilename

    Name of the standard input file that contains the FastExport commands and Teradata SQL statements on networkattached client systems

    The infilename specification redirects the standard input (stdin). If an infilename specification is not entered, the default is stdin.

    > outfilename

    Name of the standard output file for FastExport messages on networkattached systems

    The outfilename specification redirects the standard output (stdout).

    If an outfilename specification is not entered, the default is stdout.

    Note: If an outfilename specification is used to redirect stdout, do not use the same outfilename as an output or echo destination in the ROUTE MESSAGES command. Doing so produces incomplete results because of the conflicting write operations to the same file.

    b

    Reduced print output runtime parameter that limits the FastExport printout to the least information required to determine the success or failure of the job

    c charactersetname

    Character set specification for the FastExport job

    A character set name can be specified. A character set specification remains in effect for the entire FastExport job, even if Teradata Database resets, causing the FastExport job to be restarted.

    Note: The character set specification does not remain in effect if the client system fails, or if the FastExport job is cancelled. In these cases, when resubmitting the job, the same character set specification must be used that was used on the initial job. If a different character set specification is used when a job is resubmitted, the data loaded by the restarted job does not appear the same as the data loaded by the initial job.

    If a character set specification is not entered, then FastExport uses the specifications in the CLIv2 default files: clispb.dat for networkattached client systems.

    Otherwise, the default is whatever character set is specified for Teradata Database whenever you invoke FastExport.

    Note: When using UTF16 client character set on the network, the client character set name needs to be specified by the runtime parameter (that is, c UTF16). UTF16 is also a valid value.

    Note: For other ways to specify the character set, see “Character Set Specification” on page 43.

    e filename

    Alternate file specification for FastExport error messages

    Specifying an alternate file name produces a duplicate record of all FastExport error messages; the entire output stream does not have to be viewed to determine why a job failed.

    There is no default error log filename specification.

    i scriptencoding

    Encoding form of the job script

    The parameter is introduced for use with the UTF16 client character set, so it is only valid when UTF16 client character set is used. If the client character set being used is not UTF16 and the parameter is specified, FastExport reports an error and terminates.

    Valid encoding options are:

  • UTF‑8 or UTF8
  • UTF16BE, or UTF16BE, or UTF16BE
  • UTF16LE, or UTF16LE, or UTF16LE
  • UTF16 or UTF16
  • UTF8 indicates the job script is in UTF8character set
  • UTF16 indicates the job script is in UTF16 character set without specifying the endianness
  • UTF16BE indicates the job script is in big endian UTF16 character set
  • UTF16LE indicates the job script is in little endian UTF16 character set. Or, if UTF16LE is specified but the UTF16 Byte Order Mark (BOM) in the script file indicates the script is in big endian, FastExport reports an error and terminates.
  • The UTF16 or UTF8 BOM can be present or absent in the script file. Specify the input script format with i runtime parameter (mandatory) and specify session character set with ­‑c runtime parameter (mandatory) to ensure that the BOM in the script file is processed correctly.

    When UTF16 is specified and the UTF16 BOM is present in the script file, FastExport will interpret the script according to the endianness indicated by the UTF16 BOM. When the UTF16 BOM is not present, FastExport will interpret the script according to the endianness indicated by the option value. If the endianness is not indicated by the option value (that is, UTF16 is specified instead of UTF16BE or UTF16‑LE), FastExport will interpret the job script in UTF16 according to the endianness of the client system where the FastExport job invoked. The specified encoding character set applies to all script files included by the .RUN FILE commands.

    When this runtime parameter is not specified and UTF16 client character is used, FastExport will interpret the job script in UTF16. When UTF8 is specified, FastExport will interpret the job script in UTF8 and will convert SQL and Data Manipulation Language (DML) statements in the script from UTF8 to UTF16 before sending the SQL and DML statements to Teradata Database.

    M maxsessions

    Maximum number of FastExport sessions logged on to Teradata Database

    Maximum specification must be greater than zero and no more than the total number of AMPs on the system.

    Default is one session for each AMP.

    N minsessions

    Minimum number of FastExport sessions required to run the job.

    Minimum specification must be greater than zero.

    Default is 1.

    r 'fastexport command'

    Invocation option that can signify the start of a FastExport job

    It is usually a RUN FILE command that specifies the file containing the FastExport job script since only one command can be specified.

    s value

    Fiveminute status reporting

    For value, use ON if reporting is enabled, or OFF if disabled.

    u outputencoding

    Specifies the encoding form of the job output

    The parameter is introduced for being used for UTF16 client character set so it is only valid when UTF16 client character set is used. If the client character set being used is not UTF16 and the parameter is specified, FastExport reports an error and terminates.

    Valid encoding options are:

  • UTF‑8 or UTF8
  • UTF16BE, or UTF16BE, or UTF16BE
  • UTF16LE, or UTF16LE, or UTF16LE
  • UTF16 or UTF16
  • UTF16BE instructs FastExport to print the job output in the big endian UTF16 character set

    UTF16LE instructs FastExport to print the job output in the little endian UTF16 character set

    On big endian client systems, UTF16 instructs FastExport to print the job output in big endian UTF16 character set

    On the little endian client systems, UTF16 instructs FastExport to print the job out in little endian UTF16 character set

    UTF16 BOM is printed as a part of job output for:

  • UTF16BE, or UTF16BE, or UTF16BE
  • UTF16LE, or UTF16LE, or UTF16LE
  • UTF16 or UTF16 encodings
  • When the parameter is not specified and the client character set being used is UTF16, the job output will be printed as UTF16.

    y

    Specification for the data encryption option

    When specified at run time, all sessions will be encrypted.

    V

    Display version number and stop

    Note: For sample JCL and commands that invoke FastExport on the different operating system platforms, see Appendix B: “Invocation Examples.”

    The first occurrence of the runtime parameter is in effect if the duplicates are specified. The remaining parameters will be omitted with a warning message “UTY2430 Warning: Run time parameters detected and omitted”.