ipwires IPWIRES takes an incoming wire file and inserts it in to the spool/wires/WQ directory; where WQ is the WQ hdr field. At the top of the file, the DI hdr field is filled in as per the parameter file suggests. The WQ field is normally set in the USERS destination file. If not found, the Source (SU header field) is used as that is normally the Agency name. At the same time it can maintain a very fast scroll directory file per destination queue for speedy access to individual files. This file is called 'WQ' with a pathname of spool/savwires/dir. The savwires path may be changed on startup. The program first goes and gets its parameter file : tables/setup/WIRES The format of this file is : ; ; WIRES setup file ; Describe the header line for each incoming wire service ; filename:\SU\$d\XN wire:PAT Cat:\XC Pri:\XP Key:\XK (day:\$d) wire:REUTER \XC-\XP-\XK wire:EXTEL \XP Key:\XK ; stick the Headline/Keyword as the first line wire:LATAM \XK - \HK\r\n ; use these two to map different Fiphdr fields newWQ:DU newWU:DU Note that the key - LATAM in the last example is EITHER the SU field or the WU field. The latter usually is added at the USERS/ipwheel stage. Individual incoming files can specify different headers and translation tables using FIP header fields. Writer users can be notified of urgent copy by specifying the user logons in the DM FIP header field. Input parameters are (all optional) : -i : input queue to scan default: spool/2wires -o : output path to leave default: spool/savwires The file is left in spool/savwires/agencyname where agencyname is the contents of the SU field. The output path MAY be on another partition to spool -l : log all incoming files default: no logging -t : interval betwix queue scans default: 5 secs -x : no of items in wire directory default: last 100 items -y : max file size of each dir entry default: 150 chrs -z : name of parameter file default: tables/setup/WIRES -v : print version no and exit (copyright) 2021 and previous years FingerPost Ltd.