Required Parameter Group:
Service Program: QTEDBGS
|
The Retrieve View Line Information (QteRetrieveViewLineInformation) API is used to retrieve information about a specified number of lines in a registered view.
The data returned to the caller of the API indicates whether a given line or range of lines within a view can be run or not.
The receiver variable that receives the information requested. You can specify the size of the area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.
See RTVL0100 Format for details on the format of the receiver variable.
The length of the receiver variable provided by the receiver variable parameter. If this value is larger than the actual amount of storage allocated for the receiver variable, the results are not predictable. The minimum length is 8 bytes.
The format of the information returned. The possible format names are:
The identifier of a previously registered view obtained by using the Register Debug View (QteRegisterDebugView) API.
The number of the first line in the view for which the API is to retrieve information. This must be greater than or equal to 1 and less than or equal to the total number of lines in the view.
The number of lines in the view for which the API is to retrieve information. This number includes the line specified in the start line number parameter. Fewer than number of lines elements may be placed in the receiver variable if fewer lines than requested are available. No more than number of lines elements are placed in the receiver variable.
The following special values are supported for this parameter:
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
For a description of the fields in the receiver
variable, see Field Descriptions.
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Bytes returned |
| 4 | 4 | BINARY(4) | Bytes available |
| 8 | 8 | BINARY(4) | Offset to line information array |
| 12 | C | BINARY(4) | Number of line information array elements |
| 16 | 10 | BINARY(4) | Length of line information array element |
|
|
| CHAR(*) | Reserved |
| Note: The following fields describe an element in the line information array and are repeated the "number of line information array elements" times. The nth element of the array (n > 0) describes the start line number + n-1 line in the view, where start line number is a parameter to this API. | |||
|
|
| CHAR(1) | Line disposition |
|
|
| CHAR(*) | Reserved |
Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.
Bytes returned. The number of bytes of data returned.
Length of line information array element. The number of bytes occupied by a single element of the line information array. Line information array elements are contiguous and all have the same length.
Line disposition. Whether the line in the view described by this array element can be run or not. Possible values are:
Number of line information array elements. The number of elements in the line information array that were returned by this API.
Offset to line information array. The offset (in bytes) from the start of the receiver variable to the first element of the line information array.
Reserved. An ignored field.
|
Top
| Debugger APIs
| Source Debugger APIs Source Debugger APIs and Exit Programs | Create View APIs | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |