5 31 7 PUT

LANSA Integrator

5.31.7 PUT

The PUT command is used to add or update field and table data in the data source.

Syntax:

Command

Keyword

Value

Developer notes for Command/Keyword/Value

PUT

OBJECT

*FIELD

Mandatory. Data source field.

*TABLE

Data source table.

NAME

value

Optional. The OBJECT (*TABLE) requires the NAME keyword to create a new RFIDataTable object using the contents of the supplied list object. List field names are mapped to column names.
The OBJECT (*FIELD) does not require the name keyword, if no name keyword is present, then all field names in the list argument are used.
The field name is the program field name not the data source field name.

 

Example

 

PUT OBJECT (*TABLE) NAME (SKILLS)
PUT OBJECT (*FIELD) – all program field names from list argument
PUT OBJECT (*FIELD) NAME (EMPNO) – single program field nam