Previous Page | Next Page

Functions and CALL Routines

SYSPROD Function



Determines whether a product is licensed.
Category: Special

Syntax
Arguments
Details
Examples

Syntax

SYSPROD(product-name)

Arguments

product-name

specifies a character constant, variable, or expression with a value that is the name of a SAS product.

Requirement: Product-name must be the correct official name of the product or solution.

Details

The SYSPROD function returns 1 if a specific SAS software product is licensed, 0 if it is a SAS software product but not licensed for your system, and -1 if the product name is not recognized. Use SYSPROD in the DATA step, in an IML step, or in an SCL program.

If SYSPROD indicates that a product is licensed, it means that the final license expiration date has not passed. To determine the final expiration date for the product, execute the following program:

proc setinit noalias;
run;

It is possible for a SAS software product to exist on your system even though the product is no longer licensed. In this case, SAS cannot access this product. Similarly, it is possible for a product to be licensed, but not installed.

You can enter the product name in uppercase, in lowercase, or in mixed case. You can prefix the product with 'SAS/'. You can prefix SAS/ACCESS product names with 'ACC-'. To view a list of products that are available on your system, execute the following program:

proc setinit noalias;
run;


Examples

These examples determine whether a specified product is licensed.

Previous Page | Next Page | Top of Page