Variables - FastExport

Teradata® FastExport Reference

Product
FastExport
Release Number
17.00
Published
September 30, 2020
Language
English (United States)
Last Update
2020-09-02
dita:mapPath
ups1544831946863.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2410
lifecycle
previous
Product Category
Teradata Tools and Utilities

FastExport supports the following variables.

Predefined System Variables

The following table lists the supported predefined system variables.

System variables can only be referenced. They cannot be modified.
Variable Name Description
&SYSDATE Eight-character date in yy/mm/dd format
&SYSDATE4 Ten-character date in yyyy/mm/dd format
&SYSDAY Three-character uppercase day of week specification: MON, TUE, WED, THU, FRI, SAT, or SUN
&SYSOS Client operating system:
  • For z/OS: VS1, z/OS, z/OS/SP, z/OS/ES
  • UNIX OS
  • Win32
&SYSRC Completion code of the last response from the database
&SYSTIME Eight-character time in hh:mm:ss format
&SYSUSER Client system-dependent:
  • z/OS batch userid. (z/OS batch returns userid only when a security package such as RACF, ACF2, or Top Secret has been installed).

Date and Time Variables

The four date and time variables reflect the time when FastExport begins execution:
  • &SYSDAY
  • &SYSDATE
  • &SYSDATE4
  • &SYSTIME

The original values are maintained after a FastExport restart operation.

Do not reference the values in numeric operations since the values are all character data types.