ETXCMD.IND, Version 1 ETXCMD.IND Control File to allow Wild-Card Transfers with EthereXchangE Written by BIO/Comp Applications P. O. Box 18007 Albuquerque, NM 87185 NOTE!! NOTE!! ETXCMD is provided as a service by BIO/Comp ETXCMD is provided as a service by BIO/Comp Applications and Omnex Corporation, and car- Applications and Omnex Corporation, and car- ries no warranty of usefulness, suitability or ries no warranty of usefulness, suitability or efficacy. efficacy. ETXCMD.IND is a specialized version of the IND control files CMD.IND and CSICMD.IND to permit "wild-card" transfers of files using the EthereXchangE Ethernet file transfer product of Omnex Corporation. Information on CMD and CSICMD may be found in the file CMDIND.DOC. The EthereXchangE control-node program ETHERX.SAV may be run from a RT-11 or TSX+ command file. This command file can contain the files to be transferred to the server node from the control node. ETXCMD will construct such a command file on the control node. ETXCMD allows you to issue a single command on the control node to transfer all files which can be described by a RT-11 DIRECTORY command (including DIRECTORY switches). The syntax for ETXCMD is as follows: IND ETXCMD COPY[/ETHERX_switches] - COPY[/ETHERX_switches] - INPUT_FILESPECS[/Directory_switches] OUTPUT_NODE_SPEC - INPUT_FILESPECS[/Directory_switches] OUTPUT_NODE_SPEC - [EXEcute_switch] [DELete_switch] [EXEcute_switch] [DELete_switch] (The ETXCMD line is shown hyphenated in this documentation only. It should actually be entered on one line). Any ETHERX_switches are applied to each filespec found by the DIRECTORY command. The Directory_switches are used to select the desired files by means of the DIRECTORY command. Any legal DIREC- TORY switches may be used. Examples of INPUT_FILESPECs are *.FOR, EXP:(RUN,PRM)*.DAT, etc. The OUTPUT_NODE_SPEC is the EthereXchangE output node name and device and directory specification. Examples of this are VAX::, VAX::DUA2:, and VAX::DUA0:[MAIN.DATA]. If the optional EXEcute_switch has the value "EXE", the command file which is generated will be executed immediately. If the optional DELete_switch has the value "DEL", the command file will be deleted after it is executed. ETXCMD.DOC - Page 2 The logical name WF: must be assigned to some device, such as VM:. The command file built by ETXCMD is placed on WF:. The file PARSE.IND is used by ETXCMD.IND and must be located on SY:. ETXCMD has an interactive mode; if you do not enter any parameters you will be prompted for them. Installation of ETXCMD.IND Copy ETXCMD.IND and PARSE.IND to SY:. If you normally use the extension .COM for both IND control files and KMON command files, rename ETXCMD.IND only to ETXCMD.COM. Do not rename ____ PARSE.IND. You must edit ETXCMD to specify the way ETHERX is to be invoked. If you are running RT-11 SJ or TSX+, you may RUN or R ETHERX.SAV; if you are using RT-11 XM, you may run ETHERX.SAV from VBGEXE or R or RUN ETHERX.XM as a bckground job. You cannot run ETHERX as a XM foreground job and use ETXCMD. ETXCMD.DOC - Page 3 Examples The following are some examples of the use of ETXCMD. IND ETXCMD COPY WRK:*.DAT VAX:: IND ETXCMD COPY WRK:*.DAT VAX:: will create a file WF:COPY.COM with the following contents. r ETHERX COPY DDn:File1.DAT VAX:: COPY DDn:File2.DAT VAX:: ... COPY DDn:FileN.DAT VAX:: EXIT The DDn is the physical device name to which WRK: has been as- signed. The file WF:COPY.COM has not been executed. IND ETXCMD COPY/ASCII DU3:*.FOR/SINCE:1:JAN VAX::[MAIN.FORTRAN] IND ETXCMD COPY/ASCII DU3:*.FOR/SINCE:1:JAN VAX::[MAIN.FORTRAN] will create WF:COPY.COM containing r ETHERX COPY/ASCII DU3:File1.FOR VAX::[MAIN.FORTRAN] COPY/ASCII DU3:File2.FOR VAX::[MAIN.FORTRAN] ... COPY/ASCII DU3:FileN.FOR VAX::[MAIN.FORTRAN] EXIT The FileN.FOR's are those selected by the DIRECTORY command as being after Jan-1. IND ETXCMD COPY/ASCII *.(MAC,FOR)/NEW VAX:: EXE DEL IND ETXCMD COPY/ASCII *.(MAC,FOR)/NEW VAX:: EXE DEL will create WF:COPY.COM containing r ETHERX COPY/ASCII File1.MAC VAX:: COPY/ASCII File2.MAC VAX:: ... COPY/ASCII FileN.MAC VAX:: COPY/ASCII File1.FOR VAX:: COPY/ASCII File2.FOR VAX:: ... COPY/ASCII FileN.FOR VAX:: EXIT DELETE/NOQ WF:COPY.COM After the file WF:COPY.COM is built it will be executed and then deleted from WF:. Limitations on ETXCMD If your network consists of RT-11 control node(s) and a VMS server node, then ETXCMD, Version 1, can only send files from a control node to the server node. If your server node is a TSX+ system, ETXCMD can be modified to work in the opposite direction (i.e., sending files from the server to the control node). The files CSICMD.IND and CMDIND.DOC discuss the logic necessary to make this work. ETXCMD.IND will not work under VAX/VMS. At present time ETXCMD cannot select files on the server node for transfer to the control node. This feature will be included ETXCMD.DOC - Page 4 in a later version of ETXCMD.