sourceName parameter
Use the sourceName parameter to set or query an alternate name for the document, such as the remote member name for a downloaded local file opened in the editor. When set, the source name is used, for example, by the %n substitution variable in print headers and footers.
Availability
query command
set command
Scope
The current view's document.
Syntax
query sourceName set sourceName name
Parameters
name Use the name parameter to specify the desired source name of the document.
Examples
query sourceName set sourceName LIB123/RPGAPP/ORDENTR.RPGLE set sourceName ORDENTR.rpgle
query command
set command
name parameter
print.footer parameter
print.header parameter