Jump to main content
Product Documentation
Customer Support
Link 1.1.1.
What's new in HCL Link 1.1.1.0
License management
Installation Guide
Cache variables
Design Server
Flows
Flow Command Server
Flow variables
Service Builder
REST API V2.0
Flow server
Configuration variables
Command Server
Resource adapters
Execution commands
Functions and Expressions
Performance recommendations
Utility commands
LNK
APIs
Search
Home
Functions and Expressions
Use HCL Link functions and expressions to create component rules and map rules.
External interface functions
Functions and Expressions
Use HCL Link functions and expressions to create component rules and map rules.
Expressions and evaluations
The documentation provided here describes HCL Link functions and expressions. Functions and expressions are used to create component rules and map rules.
Using functions
Syntax of a function
Function argument syntax
Functions that convert character-set encoding to the native code page
Functions that use the
HCL Link
EXIT
architecture convert data to the native character set of the platform as part of the function call.
General functions
Bidirectional functions
Bit manipulation and testing functions
Cache functions
Conversion functions
Date/time functions
Error handling functions
External interface functions
DBLOOKUP
DBQUERY
DDEQUERY
EXIT
GET
HASH
Returns a hash of the input string using the specified hash function.
JEXIT
PUT
RUN
RENAMEFILE
The
RENAMEFILE
function renames the source file to that of the destination file. If the operation succeeds, the returned value is 0; if it fails, then an operating system-specific error number is returned.
HARDLINKFILE
A hard link points or references to a specific space on the hard drive. Multiple files can be hard linked to the same space in the hard drive. If some data is changed on one of the hard linked files, all the other files reflect that change. The
HARDLINKFILE
function returns the hard link file's command status. On successful execution of this function: 0 is returned; on failure: an operating system-specific error code is returned.
SOFTLINKFILE
A soft link points to a specific file, which in turn, references to a particular location on the hard drive. The soft link, also known as symbolic link is a second file that exists independently of its target. The
SOFTLINKFILE
function returns the soft (symbolic) link file's command status. On successful execution of this function: 0 is returned; on failure: an operating system-specific error code is returned.
COPYFILE
The
COPYFILE
function copies the source file to the destination file. It returns the copy file command status. On successful execution of this function: 0 is returned; on failure: an operating system-specific error code is returned.
SLEEP
The
SLEEP
function suspends the execution of the current map until the time-out interval elapses. The time-out or sleep interval is represented in milliseconds. On successful execution of this function: 0 is returned; on failure: -1 is returned.
Flow functions
Use Flow functions to specify a value for each of the flow variables defined for a flow, and additionally, to alter an already specified value for a flow variable.
Inspection functions
Logical functions
Lookup and reference functions
Math and statistics functions
Text functions
XML functions
Custom functions
From the Type Designer or Map Designer, you can create custom functions to call external libraries.
Date and time format strings
Number format strings
RUN function return codes
Character set codes for CPACKAGE, CSERIESTOTEXT, and CTEXT
External interface functions
DBLOOKUP
DBQUERY
DDEQUERY
EXIT
GET
HASH
Returns a hash of the input string using the specified hash function.
JEXIT
PUT
RUN
RENAMEFILE
The
RENAMEFILE
function renames the source file to that of the destination file. If the operation succeeds, the returned value is 0; if it fails, then an operating system-specific error number is returned.
HARDLINKFILE
A hard link points or references to a specific space on the hard drive. Multiple files can be hard linked to the same space in the hard drive. If some data is changed on one of the hard linked files, all the other files reflect that change. The
HARDLINKFILE
function returns the hard link file's command status. On successful execution of this function: 0 is returned; on failure: an operating system-specific error code is returned.
SOFTLINKFILE
A soft link points to a specific file, which in turn, references to a particular location on the hard drive. The soft link, also known as symbolic link is a second file that exists independently of its target. The
SOFTLINKFILE
function returns the soft (symbolic) link file's command status. On successful execution of this function: 0 is returned; on failure: an operating system-specific error code is returned.
COPYFILE
The
COPYFILE
function copies the source file to the destination file. It returns the copy file command status. On successful execution of this function: 0 is returned; on failure: an operating system-specific error code is returned.
SLEEP
The
SLEEP
function suspends the execution of the current map until the time-out interval elapses. The time-out or sleep interval is represented in milliseconds. On successful execution of this function: 0 is returned; on failure: -1 is returned.