DATATYPE Property (DATASET)


10.8, PLBCMP GUI Only

 

The DATATYPE property is a type assigned to the DATASET items. By default, this property is set to zero which allows mixed item types. The property uses the following format:

DATATYPE={value}

Note the following:

  1. DATATYPE may be used in CREATE, SETPROP, or GETPROP statements.

  2. The {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The {value} specifies one of the following:#

 

Value

Keyword

The description is ...

0

$DST_MIXED

The DATASET items are mixed data types. In this case, each item can be plain text, JSON, XML, binary data, HTML, etc...

1

$DST_JSON

The DATASET items are set to JSON. In this case, the data added to the DATASET must have valid JSON object syntax. Otherwise a error occurs.

 

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference