z/OS MVS Program Management: Advanced Facilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


__iew_fd_set_cursor() – Set cursor value

z/OS MVS Program Management: Advanced Facilities
SA23-1392-00

A cursor contains item number at which fast Ddata should begin processing. It is also updated at the end of a retrieval request so that it acts as a placeholder when all the selected data does not fit in the buffer provided. The cursor value is initially set to zero to tell the fast data to begin with the first item.

The __iew_fd_set_cursor() function sets the cursor value which is stored in a private data associated with the data buffer.

Format

#include <__iew_api.h>
int __iew_fd_set_cursor(_IEWFDContext *__context, 
                                        void **__data_entry,
                                        const char *__class,
                                        int __cursor);

Parameters Descriptions

__context
FD context is created and returned by calling __iew_fd_open() and is used throughout the open session.
__data_entry
returned buffer – based on class name.
__class
class name (binder-defined class).
__cursor
starting position.

Returned Value

If successful, __iew_fd_set_cursor() returns 0.

If unsuccessful, __iew_fd_set_cursor() returns nonzero.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014