Chapter Contents

Previous

Next
delsrch

delsrch



Delete a "Location" in the Load Module Search Order List

Portability: SAS/C extension


SYNOPSIS
DESCRIPTION
PORTABILITY
EXAMPLE


SYNOPSIS

#include <dynam.h>
void delsrch(SEARCH_P sp);


DESCRIPTION

delsrch removes the "location" sp pointed to by the argument from the load module search order list. sp is a value returned previously by addsrch .


PORTABILITY

delsrch is not portable. delsrch is used primarily in a CMS environment as a counterpart to addsrch or by OS/390 programs that can port to CMS.


EXAMPLE

The following example illustrates the use of delsrch under CMS:

#include <dynam.h> 

SEARCH_P source; 
char *new_source; 
. 
. 
.    
   /* Delete old search location.  */ 
if (source) delsrch(source);    
   /* Add new search location.     */ 
source = addsrch(CMS_LDLB, new_source, "");


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.