Links are not active on this page.
 SYS(2015) - Unique Procedure Name

Returns a unique 10-character procedure name that begins with an underscore followed by a combination of letters and numbers.

SYS(2015)

Expand imageReturn Value

Character

Expand imageRemarks

Use SYS(2015) to create unique names for items such as procedures, functions, files, tables or cursors. You can add a prefix or change the length of the name using the SUBSTR( ) function. For example, the code "tmp"+SUBSTR(SYS(2015),4,3) returns tmpCIOS.

The name that SYS(2015) returns is created from the system date and system time. Calling SYS(2015) more than once during the same millisecond interval returns a unique character string.

Expand imageSee Also