JavaScript Editor js editor     Web development 

Main Page

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


Return Value



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.

See Also

JavaScript Editor js editor     Web development