Top
PowerFORM Runtime V11.0 Reference
FUJITSU Software

1.2 How to Use PowerFORM RTS

PowerFORM RTS uses records to communicate with application programs. Records contain the areas for all the fields defined in a form descriptor with the exception of static fields. The record parts assigned to these fields are record data fields. Records have an area where an application program can change the attributes of each field. PowerFORM RTS then posts the status of each changed field. This area is called a field-control field.

All the record data fields and field-control fields are generically referred to as record data areas.

  1. Data storage format

    The format for storing data in a record data field depends on the data type.

    UNICODE is available, if COBOL program is compiled with RCS (UCS2) option.

    The following explains the types of data that can be processed in the various supported fields:

    • Numeric fields

      External decimal numbers are stored. For details, see "Format of numeric fields" below.

    • Text fields

      Alphanumeric or UNICODE (UTF8) is stored.

    • UCS2 fields

      UNICODE (UCS2) is stored. If the COBOL program is encoded to use UTF-32, the actual values that are stored are going to be in Unicode. In order to convert the form descriptor, you would use the CNVMED2UTF32 Command. For further details, please refer to the NetCOBOL User's Guide.

  2. Format of numeric fields

    A numeric field is represented by an external decimal integer.

    Table 1.1 lists the data format of external decimal integers.

    Table 1.1 Data format of external decimal integers

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    None

    Character
    representation

    0

    1

    2

    3

    4

    5

    6

    7

    8

    9

    Hexadecimal
    representation

    30

    31

    32

    33

    34

    35

    36

    37

    38

    39

    Positive

    Character
    representation

    @

    A

    B

    C

    D

    E

    F

    G

    H

    I

    Hexadecimal
    representation

    40

    41

    42

    43

    44

    45

    46

    47

    48

    49

    Negative

    Character
    representation

    P

    Q

    R

    S

    T

    U

    V

    W

    X

    Y

    Hexadecimal
    representation

    50

    51

    52

    53

    54

    55

    56

    57

    58

    59