Variables - FastExport

Teradata® FastExport Reference - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
FastExport
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2024-03-18
dita:mapPath
jaa1691573250507.ditamap
dita:ditavalPath
gel1618411995444.ditaval
dita:id
rto1478610027076
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.