RDDNAME()

Return the name of the currently active RDD

Syntax

RDDNAME() --> cRDDName

Arguments


Returns

Returns a character string, cRDDName, the registered name of the active RDD in the current or specified work area.

Description

RDDNAME() is an RDD function that returns a character string, cRDDName, the name of the active RDD in the current or specified work area.

You can specify a work area other than the currently active work area by aliasing the function.

Examples

USE Customer VIA "DBFNTX" NEW
USE Sales VIA "DBFCDX" NEW
? RDDNAME() // Returns: DBFCDX
? Customer->( RDDNAME() ) // Returns: DBFNTX
? Sales->( RDDNAME() ) // Returns: DBFCDX

Tests




Status

Ready

Compliance


See Also