Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable Name

Description

S2PX Translation

Notes

@DATE

The internal date when the program started. See the Date function.

DaysSinceFromDate2(StringToDate(DSJobStartDate), StringToDate('1967-12-31'))

@DAY

The day of the month extracted from the value in @DATE.

MonthDayFromDate(StringToDate(DSJobStartDate))

@FALSE

The compiler replaces the value with 0.

No translation. @FALSE is available in the Parallel Engine.

@FM

A field mark, Char(254).

Char(30)

@IM

An item mark, Char(255).

Char(31)

@INROWNUM

Input row counter. For use in constraints and derivations in Transformer stages.

@INROWNUM is available in the Parallel Engine and is used in all instances except when it is used inside a Transformer with no input links. In this case S2PX replaces @INROWNUM with @ITERATIONS to ensures the generated Parallel Job produces matching output.

@OUTROWNUM

Output row counter (per link). For use in derivations in Transformer stages.

No translation. @OUTROWNUM is is available in the Parallel Engine.

@LOGNAME

The user login name.

Unsupported

@MONTH

The current extracted from the value in @DATE.

MonthFromDate(StringToDate(DSJobStartDate))

@NULL

The null value.

setnull()

@NULL.STR

The internal representation of the null value, Char(128).

Char(25)

@PATH

The path name of the current InfoSphere DataStage project.

Unsupported

@SCHEMA

The schema name of the current InfoSphere DataStage project.

DSProjectName

@SM

A sub-value mark, Char(252).

Char(28)

@SYSTEM.RETURN.CODE

Status codes returned by system processes or commands.

Unsupported

@TIME

The internal time when the program started. See the Time function.

StringToTime(DSJobStartTime)

@TM

A text mark, Char(251).

Char(26)

@TRUE

The compiler replaces the value with 1.

No translation. @TRUE is available in the Parallel Engine.

@USERNO

The user number.

Unsupported

@VM

A value mark, Char(253).

Char(29)

@WHO

The name of the current InfoSphere DataStage project directory.

DSProjectName

@YEAR

The current year extracted from @DATE.

YearFromDate(StringToDate(DSJobStartDate))

...