The file command can be used with to assign aliases to files.
In the following example, we will assign an alias to a file in SAPWR with a very long file name.
Create a file in SAPWR with the following filename:
Open the 'esession.sjs' file and enter the following code. Create the file if it does not already exist.
file("an_extremely_lengthy_script_filename.sjs" , {“alias”:"longFile.sjs"});
Save the file.
You should now be able to access the file using the alias instead of the actual file name.