# Define Fields in a Message Panel

You can modify the fields of a message definition in the Define Fields in a Message panel.

## Panel Layout

    SXTP01F ----------------- Define Fields in a Message ------ Row 1 to 20 of 20
     Command ===>                                                  Scroll ==> CSR
     (Types: DAT, OPA, MSG, STR, BOL, I8, U8, I16, U16, I32, U32, I64, U64,
             F32, F64, POR, IPA)
       Message Id      ===> New-Msg1

     Sel  Type Dec Id   Seq Name
     -    ---  -   ---  ---- ----------------------------------------------
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
               0     0  0
     ******************************* Bottom of data *****************************

## Field Description

The following table lists the fields in the Define Fields in a Message panel:

Field | Description
--- | ---
Message Id | The name of the message definition.
Sel | You can modify a previously defined field in a message definition. Valid selections: S(elect), D(elete), and R(epro).
Type | The data type for the field. The following are valid data types for TIBCO Enterprise Message Service (EMS) and Rendezvous (RV): OPA: an opaque byte sequence for RV, and bytes for EMS. STR: a character string for RV, and an EMS or JMS UTF8 data type for EMS. BOL: Boolean for both RV and EMS. I8: an 8-bit integer for RV, and a byte for EMS. I16: a 16-bit integer for RV, and an EMS or JMS short data type for EMS. U16: an unsigned 16-bit integer for RV, and the wchar data type for EMS. I32: a 32-bit integer for RV and an EMS or JMS integer data type for EMS. U64: an unsigned 64-bit integer for RV, and an EMS or JMS long data type for EMS. F32: a 32-bit floating point for both RV and EMS. F64: a 64-bit floating point for RV, and an EMS or JMS double data type for EMS. MSG: a message for RV, and an EMS-mapped message for EMS. The following are valid data types for only Rendezvous: DAT: the Rendezvous date-time format. U8: an unsigned 8-bit integer. U32: an unsigned 32-bit integer. I64: a 64-bit integer. POR: a 2-byte IP port. IPA: a 4-byte IP address.
Dec | The implied number of digits after the decimal point. For example, for the number 345.67, the implied decimal is 2. This field only applies to numeric values. This field is also used to indicate a bytes type message. For more information, see Using Opaque Fields and Message Sizes.
Id | A message field identifier. Zero (0) is a special value that signifies no field identifier. You must not add a field that contains both a null field name and a nonzero field identifier. This field is not implemented in the current release.
Seq | The sequence in which each field is displayed in the Conversion Rules panel. Numeric only. Valid values: 0 - 9999. Default value: 0.
Name | Required. The user defined name of the field.

Copyright © TIBCO Software Inc. All rights reserved.