The Things that Make Up this Example

LANSA

The Things that Make Up this Example
Converting Numbers to WordsTo Execute this Example



Objects Required

If you imported the SET example materials, these objects have been created for you in the repository:
TypeNameDetailsDescription
ProcessSET_012 Process for this example
FunctionSET012AFunction SET012AConvert Number to Words
FileSETDAT Holds AS400 data
Flat FileS_012nam.dat In partition source directory. (Holds the PC data)
FieldIO$STS A 2 0 Data base I/O operation status code
FieldS_DATCHR1 A 100 0 Sample Data - Character 1
FieldS_DATNUM1 P 18 2 Sample Data - Numeric
FieldSTD_IDNOL P 15 0 Standard Identifying Number (long)
FieldSTD_TEXTL A 75 0Standard TEXT, LONG
FileSETLIB Data for SET Examples
Seq Name Description
10 S_DATKEY1 Data Type Key
20 S_DATKEY2 Data Identifier
30 S_DATNUM1 Sample Data - Numeric
40 S_DATNUM2 Sample Data - Numeric 2
50 S_DATCHR1 Sample Data - Character 1
60 S_DATCHR2 Sample Data - Character 2

Logical view SETDATL1, keyed by S_DATKEY1 S_DATKEY2