IBM InfoSphere DataStage, Version 11.3.1
SEQS function
Syntax
SEQS (dynamic.array)
CALL -SEQS (return.array, dynamic.array)
CALL !SEQS (return.array, dynamic.array)
Description
Use the SEQS function to convert a dynamic array of ASCII characters to their numeric string equivalents.
dynamic.array specifies the ASCII characters to be converted. If dynamic.array evaluates to the null value, null is returned. If any element of dynamic.array is the null value, null is returned for that element.
If you use the subroutine syntax, the resulting dynamic array is returned as return.array.
In NLS mode, you can use the UNISEQS function to return Unicode values in the range x0080 through x00F8.
Using the SEQS function to convert a character outside its range results in a run-time message, and the return of an empty string.
Example
G="T":@VM:"G"
A=SEQS(G)
PRINT A
PRINT SEQS("G")
This is the program output:
84V71
71
Last updated: 2015-03-09
PDF version of this information: