11.07.2015 Views

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

NetEx EFT213 Reference Manual Rel 5.4

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Aliases can be more complex than a single mapping of FETCH to RECEIVE. For example, the FETCH aliascan be defined to include parameters or qualifiers as part of its definition. Below is an example of the FETCHalias that includes some RECEIVE qualifiers in its definition:eFT> set alias fetch receive -quiet -mode characterTo display the new definition alias FETCH, the SHOW ALIAS command is again used:eFT> show alias fetcheFT: FETCH ............. receive -quiet -mode characterNow every time FETCH is invoked, the QUIET qualifier is turned on and the MODE is set to CHARACTER.Therefore, the following are equivalent:eFT> fetch sourcefileand,eFT> receive -quiet -mode character sourcefileAs was true earlier, additional qualifiers and parameters may be passed to FETCH (and thus passed through toRECEIVE) simply by adding them to the FETCH command line when it is invoked.To remove a previously defined alias, simply define the alias again without a definition:eFT> set alias fetchThis will in effect “undefine” the specified alias. Following the command issued above, FETCH will nolonger be a valid alias.<strong>NetEx</strong>/eFT Aliases vs. Host AliasesThere are two types of aliases, Host Aliases and <strong>NetEx</strong>/eFT aliases. Host aliases are either Local aliases orRemote aliases. That is, their definitions translate to either Local host commands or Remote host commands.<strong>NetEx</strong>/eFT aliases translate to <strong>NetEx</strong>/eFT commands (SEND, RECEIVE, CONNECT, ASK, etc.).In addition to the obvious differences between the two alias types, there are a couple of other distinctions thatmust be mentioned. First, <strong>NetEx</strong>/eFT aliases are defined using SET ALIAS. The format is:CommandSET ALIASParameteralias_name ua_commandwhere ua_command must translate into a <strong>NetEx</strong>/eFT command. Host aliases on the other hand are definedusing SET LOCAL ALIAS or SET REMOTE ALIAS. The format is:CommandSET LOCAL ALIASParameterloc_alias_name host_commandand,CommandSET REMOTE ALIASParameterrem_alias_name host_commandwhere host_command must be a valid command on the local or remote host respectively.The other big distinction between <strong>NetEx</strong>/eFT aliases and Host aliases is that <strong>NetEx</strong>/eFT aliases may havemulticommand definitions (see the section entitled “Creating Multicommand <strong>NetEx</strong>/eFT Aliases”), whereasREF-eFT213-R<strong>5.4</strong>-08 Advanced Local User’s Guide Page 97

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!