Variables - FastExport

Teradata FastExport Reference

Product
FastExport
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-22
dita:mapPath
fmk1488824663357.ditamap
dita:ditavalPath
Audience_PDF_include.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.
System Variables 
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 Teradata 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.