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


__iew_fd_eod() – Test for end of data

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

The __iew_fd_eod() function tests whether end of data condition has been set for a series of __iew_fd_getC(), __iew_fd_getD(), __iew_fd_getE(), or __iew_fd_getN() calls.

Format

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

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).
Note: Testing end of data condition after __iew_fd_getN() call, specify “B_BNL” as class name.

Returned Value

If successful, __iew_fd_eod() returns 0.

If unsuccessful, __iew_fd_eod() returns nonzero.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014