Previous Topic: Define REALM Records to the SDTNext Topic: Define SELECT Record to SDT


Define RLP Record to SDT

The RECORD keyword is required when adding a RLP record to the SDT Record.

To define a new RLP record to the SDT, enter the command:

TSS ADDTO(SDT) RECORD(rlpname)
               DESCRIPT(descriptname)
               RECDATA(fielddefinition)
RECORD

Specifies a user‑defined record ID that must be unique for each RLP record. It can contain letters, numbers, and special characters. In addition, it must match the name of the FCT being protected by the RLP feature.

Size: 8 characters

DESCRIPT

Designates an optional user‑description field that is used as a logical name for this record. If the description field contains blanks, you must enclose it in single quotes.

Size: 32 characters

RECDATA

Contains the layout of a field in this record. You can specify up to four fields on each RECDATA keyword. Each field‑definition operand consists of five sub‑fields:

fld‑name

Specifies an up to 24‑character field name unique to this RECORD record. The name can consist of letters, digits, or national characters and can be qualified with periods (.), underscores (_), or hyphens (‑).

type

Indicates the field type. Replace type with one of these values: CHAR (character), BIN (binary), PACKED, ZONED or HEX (hexadecimal).

offset

Specifies an up to five‑digit position (relative to 1) of the data field.

length

Specifies an up to 44‑digit length of the data field (optional).

Example: create an RLP record

This example creates an RLP record called PROLL1, and a RECDATA field that contains salary information in character format with a length of six characters and an offset of 48:

TSS ADDTO(SDT) RECORD(PROLL1)
               RECDATA(PAY,CHAR,48,6)