osdquit -- Terminate MVS File or Member Search

SYNOPSIS

 #include <os.h>

 void osdquit(struct DSNINFO *info);
 

DESCRIPTION

osdquit is called to free resources associated with the use of the osdfind and osdnext functions. info is a pointer to a DSNINFO structure filled in by a previous call to osdfind. Refer to the description of osdfind for a listing of the DSNINFO structure.

It is not necessary to call osdquit after osdfind or osdnext when they return a negative return code. However, osdquit is required only when osdfind or osdnext indicates that more names are available, and the program does not need to retrieve these names.

RETURN VALUE

None.

CAUTION

Refer to the CAUTION section of osdfind.

EXAMPLE

See the example for osdfind.

RELATED FUNCTIONS

osdfind

SEE ALSO

File Management Functions

Copyright (c) 1998 SAS Institute Inc. Cary, NC, USA. All rights reserved.