TRUNCATE

LANSA Integrator

TRUNCATE

The optional keyword TRUNCATE allows the service to truncate data values.

Only data values coming from the service to the function are truncated.

The default value for the TRUNCATE keyword is *NONE.

Note: TRUNCATE is implemented at the command level and not at the service level. This means that all services have TRUNCATE capability.

TRUNCATE

*NONE

No truncating.

*LIST

Truncate list values.

*FIELD

Truncate field values.

*BOTH

Truncate field and list values.

 

Example

 

RECEIVE TRUNCATE(*LIST)