Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Cursor position

&pagelevel(4)&pagelevel

If, in a dialog step in a UTM program unit, a format output is intended and the cursor is to set to a field using the KDCSUR call, then this information will be transferred to UPIC. UTM uses the differences between the address of the specified field and the start address of the format to create an offset. This offset is transferred to the UPIC client and can be interrogated using the Extract_Cursor_Offset call.

The Extract_Cursor_Offset call delivers a return value. If this value is 0, KDCSCUR in the UTM program unit was not called, unless the cursor is to be set at the beginning of the format and the call really does result in the offset 0. If KDCSCUR is called in the UTM program unit, Extract_Cursor_Offset delivers the cursor address in the format, as a integer in a format relative to the start of the message area.