This function returns the IBM i system name from which the application is served.
Example:
var system = getSystemName(); if (system == "TESTBOX") { alert("This application is running in a test environment. Your changes will not affect production data."); }