MODEXIST Function: UNIX

Determines whether a product image exists in the release of SAS that you have installed.
Category: Numeric
UNIX specifics: pathname is available
See: MODEXIST Function in SAS Functions and CALL Routines: Reference

Syntax

MODEXIST ('product-name' | 'pathname')

Required Arguments

'product-name'
specifies a character constant, variable, or expression that is the name of the product image that you are checking.
'pathname'
specifies the pathname for the product image that you are checking.

Details

The MODEXIST function searches the directories that are listed in the pathname argument for an executable module. The name of the executable module is passed to MODEXIST. MODEXIST returns 1 if the module is found, and 0 if the module is not found.