builtins

getLicenseInfo

Description

The getLicenseInfo action shows the license information for a SAS product. This can include details like CPU count, expiration date, grace and warning periods, operating system name, product name, release, server date, site name, and site number.

builtins.getLicenseInfo <result=results> <status=rc> / prodId=integer ;
Settings
ParameterDescription
prodIdSpecifies the SAS product ID. Default: -1. Minimum value: 0.
Data Preparation View data prep sheet
N/A

The getLicenseInfo action does not require data creation.

Copied!
1N/A

Examples

This example shows how to retrieve license information for a specific SAS product. It returns various details about the product's license.

SAS® / CAS Code Code awaiting community validation
Copied!
1 
2PROC CAS;
3BUILTINS.getLicenseInfo / prodId=1;
4 
5RUN;
6 
7QUIT;
8 
Result :
The CASL output will include tables with license information such as cpuCount, expDate, isExpired, productName, and release for the product with ID 1.

FAQ

What is the purpose of the getLicenseInfo Action?
What is the CASL Syntax for getLicenseInfo?
What is the Lua Syntax for getLicenseInfo?
What is the Python Syntax for getLicenseInfo?
What is the R Syntax for getLicenseInfo?
What is the 'prodId' parameter?
What does 'cpuCount' return?
What does 'cpuStart' return?
What does 'expDate' return?
What does 'expDateNum' return?
What does 'gracePeriod' return?
What does 'isExpired' return?
What does 'isGrace' return?
What does 'isWarning' return?
What does 'licenseFile' return?
What does 'osName' return?
What does 'prodID' return?
What does 'productName' return?
What does 'release' return?
What does 'serverDate' return?
What does 'serverDateNum' return?
What does 'siteName' return?
What does 'siteNum' return?
What does 'warningPeriod' return?