The following table shows which variables can be used for which system.
Variable | Meaning | BS2000 | Unix | Windows | z/OS |
%PARTNER | Partner name (long form) | X | X | X | X |
%PARTNERAT | Partner name | X | X | X | X |
%FILENAME | File name | X | X | X | X |
%ELEMNAME | Element name | X | |||
%ELEMVERS | Element version | X | |||
%ELEMTYP | Element type | X | |||
%RESULT | Request result | X | X | X | X |
%JOBCLASS | Job class | X |
In the case of %PARTNER and %PARTNERAT, the partner name found in the partner list is used if it is present in the partner list. If it is not entered in the partner list (dynamic partner) then the partner address is used. In this case, %PARTNER and %PARTNERAT have different effects:
In the case of %PARTNER, all the address components are used, i.e. including protocol prefix, port number and selectors if appropriate.
In the case of %PARTNERAT, only the host address component is used, see section“Specifying partner addresses”. In addition, all characters apart from letters, digits or periods are replaced by ’@’.
If one of the above-named symbolic identifiers remains in this form, that is without replacement, then the initial percentage sign must be doubled, as in %%FILENAME.