openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_LOCKWAIT:
    post:
      tags:
      - SDB6PMST04
      summary: 'DB6: Collects Data of DB2 UDB Lock Waits'
      operationId: /rfc/DB6_PM_LOCKWAIT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                IT_DB6PMLCKWT:
                  type: array
                  items:
                    type: object
                    properties:
                      PARTITN:
                        type: integer
                        format: int32
                        description: Partition Number
                      AGTID_WFLK:
                        type: integer
                        format: int64
                        description: Application Waitung for Lock
                      AGPID_WFLK:
                        type: integer
                        format: int64
                        description: db2agent Process/Thread ID waiting for Lock
                      CLPID_WFLK:
                        type: integer
                        format: int64
                        description: Client Process ID waiting for Lock
                      APPLN_WFLK:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      HOST_WFLK:
                        type: string
                        maxLength: 63
                        description: Host Name
                      AGTID_HOLK:
                        type: integer
                        format: int64
                        description: Application Holding the Lock
                      AGPID_HOLK:
                        type: integer
                        format: int64
                        description: db2agent Process/Thread ID holding the Lock
                      CLPID_HOLK:
                        type: integer
                        format: int64
                        description: Client Process ID holding the Lock Lock
                      APPLN_HOLK:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      HOST_HOLK:
                        type: string
                        maxLength: 63
                        description: Host Name
                      LCK_MOD_RQ:
                        type: string
                        maxLength: 5
                        description: Lock Mode Requested
                      LOCK_MODE:
                        type: string
                        maxLength: 5
                        description: ' Mode of Lock Waited for'
                      LCK_OBJ_TY:
                        type: string
                        maxLength: 25
                        description: 'lock_object_type: Lock Object Type: Row, Table, ...'
                      TABLE_NAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      TAB_SCHEMA:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      TBS_NAME:
                        type: string
                        maxLength: 20
                        description: 'DB6: General identifier'
                      LWSTRTDATE:
                        type: string
                        format: date
                        description: Field of type DATS
                      LWSTRTTIME:
                        type: string
                        maxLength: 6
                        description: Field of type TIMS
                      LSTMT_WFLK:
                        type: string
                        maxLength: 32000
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMLCKWT:
                    type: array
                    items:
                      type: object
                      properties:
                        PARTITN:
                          type: integer
                          format: int32
                          description: Partition Number
                        AGTID_WFLK:
                          type: integer
                          format: int64
                          description: Application Waitung for Lock
                        AGPID_WFLK:
                          type: integer
                          format: int64
                          description: db2agent Process/Thread ID waiting for Lock
                        CLPID_WFLK:
                          type: integer
                          format: int64
                          description: Client Process ID waiting for Lock
                        APPLN_WFLK:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        HOST_WFLK:
                          type: string
                          maxLength: 63
                          description: Host Name
                        AGTID_HOLK:
                          type: integer
                          format: int64
                          description: Application Holding the Lock
                        AGPID_HOLK:
                          type: integer
                          format: int64
                          description: db2agent Process/Thread ID holding the Lock
                        CLPID_HOLK:
                          type: integer
                          format: int64
                          description: Client Process ID holding the Lock Lock
                        APPLN_HOLK:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        HOST_HOLK:
                          type: string
                          maxLength: 63
                          description: Host Name
                        LCK_MOD_RQ:
                          type: string
                          maxLength: 5
                          description: Lock Mode Requested
                        LOCK_MODE:
                          type: string
                          maxLength: 5
                          description: ' Mode of Lock Waited for'
                        LCK_OBJ_TY:
                          type: string
                          maxLength: 25
                          description: 'lock_object_type: Lock Object Type: Row, Table, ...'
                        TABLE_NAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        TAB_SCHEMA:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        TBS_NAME:
                          type: string
                          maxLength: 20
                          description: 'DB6: General identifier'
                        LWSTRTDATE:
                          type: string
                          format: date
                          description: Field of type DATS
                        LWSTRTTIME:
                          type: string
                          maxLength: 6
                          description: Field of type TIMS
                        LSTMT_WFLK:
                          type: string
                          maxLength: 32000
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
