Versions Compared

Key

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

...

Currently unsupportedCurrently unsupportedCurrently unsupportedCurrently unsupported

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))

System Marks

Universe has a set of System “Mark” ‘System Mark’ characters which are used to support multi-valued strings. These characters are represented as fixed ASCII values, have special handling when converting to and from NLS Code pages and Unicode, and can be accessed directly using system variables. The table below shows the ASCII and Unicode Hex Values for each System Mark:

System Variable

Description

ASCII Character

Unicode Character

@IM

Item Mark

0xFF

0xF8FF

@FM

Field Mark

0xFE

0xF8FE

@VM

Value Mark

0xFD

0xF8FD

@SM

Subvalue Sub-value Mark

0xFC

0xF8FC

@TM

Text Mark

0xFB

0xF8FB

@NULL.STR

Null String

0x80

0xF8F7

...