Can't add the DECIMALS and CASE-SENSITIVE field options with the ADD-NEW-FIELD method
The dynamic temp table ADD-NEW-FIELD method doesn't support the CASE-SENSITIVE and DECIMALS attributes. So they can't be set when adding a new field to a dynamic temp table. These buffer field object attributes are read-only, so they can't be changed after the field is created.
In contrast the static temp table definition does support these attributes:
DEFINE TEMP-TABLE tt1
FIELD cName AS CHAR INIT 'SomeCaseSensitiveValue' CASE-SENSITIVE
FIELD dBalance AS DECIMAL FORMAT ">999.99" DECIMALS 3.
A dynamic temp table field can be created using the ADD-LIKE-FIELD method based on an existing temp table or database table field. But if the application uses only dynamic temp tables, it's hard to use ADD-LIKE-FIELD to create dynamic temp table fields with these attributes.