file

The file command assigns aliases to SAPWR files.

The file command is used to assign short names - also called aliases - to scripts housed in a SAP Web Repository (SAPWR). This command is very useful since SAPWR set a limit of thirty characters on a filename. The syntax is as follows:

file("long_filename" , {“alias”:"short_filename"});
Note: The file command is placed in the esession.sjs file if such a file is present. If the scripts are housed in SAPWR, the rfcconnect command must include a 'Client=' statement in the guixt.sjs file.

Options

The file command takes the following options:

alias

This is used to specify the short filename that will be used instead of the original filename. The syntax is as follows:

{"alias":"shortFilename"}