FRTEC - File Request Thread Element

Table 1.
Offset Hex Type Len Name (Dim) Description
(0) STRUCTURE 116 DFHFRTE
    Eye catcher
(0) CHARACTER 16 FRT_EYE_CATCHER Eye catcher
(0) HALFWORD 2 FRT_LENGTH length of FRTE
(2) CHARACTER 6 FRT_EYE1 >DFHFC FC 'domain'
(8) CHARACTER 8 FRT_EYE2 FRTE
    NOTE: frt_ifgluwid_pointer is NOT part of frt_main_part.
    This ensures that this field is not cleared when the FRTE is
    reused. The FRTE stays permanently attached the IFGLUWID area.
(10) ADDRESS 4 FRT_IFGLUWID_POINTER Address of IFGLUWID associated with this request thread.
    Main part of FRTE
     FRT_MAIN_PART starts here
       - Do not move fields out of FRT_MAIN_PART
       - All fields in FRT_MAIN_PART are reset together
(14) CHARACTER 96 FRT_MAIN_PART Main part of FRTE
(14) CHARACTER 4 *
(14) CHARACTER 4 *
(14) ADDRESS 4 FRT_NEXT_FRTE_ADDRESS -> next FRTE in chain for current file.
(14) ADDRESS 4 FRT_FREE_FRTE_ADDRESS Next FRTE in FC static storage free chain.
(18) ADDRESS 4 FRT_FLAB_ADDRESS Address of FLAB that owns this FRTE.
(1C) CHARACTER 1 *
(1C) CHARACTER 1 FRT_FUNCTION Function byte see CONSTANT defs
(1D) BIT(8) 1 FRT_FLAGS FRTE flag byte
(1D) 1... ....   FRT_READ_UPDATE_ THEN_DELETE Allow RIDFLD delete
(1D) .1.. ....   FRT_INITIAL_LOAD Initial loading lock held.
(1D) ..1. ....   FRT_USE_FCDT Call FCDT if a CMT
(1D) ...1 ....   FRT_BACKOUT Backing out
(1D) .... 1...   FRT_CONTINUATION This request continues a previous one
(1D) .... .1..   *
(1D) .... ..1.   FRT_UMT_LOCK_HELD UMT record lock held for frt_key_copy
(1D) .... ...1   FRT_GENERIC_BROWSE Generic browse
(1E) UNSIGNED 2 FRT_REQID Browse request ident.
(20) ADDRESS 4 FRT_DATA_BUFFER Temporary area to read record into
(24) UNSIGNED 4 FRT_DATA_BUFFER_ LENGTH Length of temporary area
(28) ADDRESS 4 FRT_UPDATE_TOKEN TOKEN for read update
    This section of the FRTE describes the work area (VSWA or FIOA)
(2C) ADDRESS 4 FRT_WORK_AREA_ADDRESS Address of work area i.e. VSWA or FIOA
(30) UNSIGNED 4 FRT_WORK_AREA_LENGTH Work area length
(34) CHARACTER 8 FRT_WORK_AREA_SUBPOOL Work area subpool
    This section of the FRTE describes SET storage
(3C) CHARACTER 8 FRT_SET_CONTROL Set storage control area.
    This section of the FRTE is used by data tables
(44) ADDRESS 4 FRT_KEY_COPY Key copy area
(48) CHARACTER 12 FRT_DT_RECORD_TOKEN Table record token
(48) ADDRESS 4 FRT_FBWA_ADDRESS Table browse area
(54) ADDRESS 4 FRT_CF_CONNECTION_ TOKEN CFDT pool connect token
(58) FULLWORD 4 FRT_CF_INSTANCE_ NUMBER CFDT server instance number
    This section of the FRTE is temporary and will be removed later
(5C) ADDRESS 4 FRT_BCB_ADDRESS Base Cluster Block addr
    This section of the FRTE is used by the log and journal program
(60) ADDRESS 4 FRT_FORCE_TOKEN Token returned from RMRE APPEND & supplied to RMRE FORCE
    This section of the FRTE is used by RLS.
(64) FULLWORD 4 FRT_WRMI_COUNT no. of massinsert requests to recoverable ESDS.
(68) CHARACTER 8 FRT_WRMI_START_TIME Time of first massinsert to recoverable ESDS.
    This section of the FRTE is flags for general use
(70) BIT(8) 1 * Reserved
(70) CHARACTER 1 *
(70) BIT(8) 1 FRT_PRIVILEGED_FLAG
(70) 1... ....   FRT_PRIVILEGED Privileged req
(71) BIT(8) 1 * Reserved
(71) CHARACTER 1 *
(71) BIT(8) 1 FRT_ACCMETH_MODULE_ ACTIVE_FLAG
(71) 1... ....   FRT_ACCMETH_MODULE_ ACTIVE access method dependent module is active
(72) BIT(8) 1 * Reserved
(73) BIT(8) 1 * Reserved

Constants

Table 2.
Len Type Value Name Description
    Constants for FRT_FUNCTION
1 DECIMAL 1 FRT_READ Read
1 DECIMAL 3 FRT_READ_UPDATE Read_Update
1 DECIMAL 5 FRT_WRITE Write
1 DECIMAL 8 FRT_DELETE Delete
1 DECIMAL 10 FRT_START_BROWSE Start Browse