{"id":3448,"date":"2014-10-25T00:36:11","date_gmt":"2014-10-25T00:36:11","guid":{"rendered":"http:\/\/www.fingerpost.co.uk\/wp\/programme-documentation\/zwire\/"},"modified":"2014-10-25T00:36:11","modified_gmt":"2014-10-25T00:36:11","slug":"zwire","status":"publish","type":"page","link":"https:\/\/www.fingerpost.co.uk\/wp\/programme-documentation\/zwire\/","title":{"rendered":"zwire  (Sat Oct 25 2014 01:31:01)"},"content":{"rendered":"<pre>\nzwire\n\nZWIRE receives an IATA or IATA-derivative news wire.\nThe header is parsed and put in the FIP header field SH. The file is slotted\ninto the spool\/2brouted queue for IPROUTE to process and route.\n\nInput Parameters :\n\tMandatory :\n\t-n : name of this wire (usually the agency)\t\tdefault: none\neither\t-s : 'px25', 'sx25', Terminal Server\/Spider name or TTY\tdefault: none\n\t-p : Spider port number\t\t\t\t\tdefault: none\nor\t-P : Port on UnixBox to use for outbound\t\tdefault: none\n\t\tThis is only used where Terminal Servers canNOT run reverse telnet\n\t\tcorrectly and need to set a Permanent Virtual Connection across\n\t\tthe ethernet to a fixed port number on the UnixBox\n\tOptional :\n\t-A : name of the archive file if not the -n name field  default: 'name'\n\t-b : No of bits :if 5, THE WHOLE MESSAGE AND HEADER IS TRANSLATED TO ASCII\n\t\t\t\t\t\t\t\tdefault: 7\n\t-C : Category start string\t\t\t\tdefault: none\n\t-c : If not ascii feed, chrset of 5\/6 level letters\tdefault: c2let\n\t-d : If not ascii feed, chrset of 5\/6 level numbers\tdefault: c2num\n\n\t-D : the name of a DUPLICATE wire where 2 copies of the same\n\t\tfile is required (SD header field).\t\tdefault: none\n\t-e : the string that ends the header at the next CR\/NL.\tdefault: none\n\t-E : the string that ends the header immediately.\tdefault: none\n\t-f : Extra FIP header information\t\t\tdefault: none\n\t\tFor fixed header info in FIP. eg -f #QA:AA#QB:BASIC\n\t\tAs this flag is normally the last specified, its contents\n\t\tcan be used to overwrite any unique fields such as DU, DP,\n\t\tSN etc.\n\t-k : Keyword start string string which indicates that text following\n\t\tto the CR\/NL is the keyword.\t\t\tdefault: none\n\t-K : Add the message keyword as first line of text\tdefault: no\n\t-l : The max no of lines in the header.\t\t\tdefault: no max\n\t-L : For Passive (-P) type connections, reestablish the\n\t\tlink after disconnection\t\t\tdefault: no\n\t-o : Name of output format (DF field)\t\t\tdefault: ZWIRE\n\t-O : Name of the output folder if not default\t   default: spool\/2brouted\n\t\tThis folder will be under \/fip\/spool\n\t-q : Replace incoming sequence number with System\n\t\tgenerated number\t\t\t\tdefault: no\n\t-r : the name of a DIFFERENT routing table to 'name'\n\t\t(SR field : used by iproute)\t\t\tdefault: name\n\t-t : End of text marker (NNNN is end of message)\tdefault: none\n\t-T : Timeout in seconds\t\t\t\t\tdefault: none\n\t\tIf this time is exceeded WITHOUT an End-of-file, the\n\t\tfile is terminated.\n\t-x : Wakeup string for Pad\/modem etc\t\t\tdefault: none\n\t\tThis wakes up the pad on startup.\n\t-y : Banner string to strip from terminal server.default: SpiderBanner\n\t-Y : There is no banner to strip\t\t\tdefault: as above\n\t-Z : do NOT archive any incoming files\t\t\tdefault: archive\n\t-0 : do NOT strip NULs from the incoming stream\t\tdefault: strip\n\t-1 : Use first line of text as Keyword\t\t\tdefault: no\n\t\t(this is the opposite of -K)\n\t-6 : Format is Extel version 6 format\t\t\tdefault: no\n\t\tVersion 6 is also called AFX IATA Version 1 or 1.1\n\t-7 : Format is Extel\/AFX version 7 format\t\tdefault: no\n\t\tVersion 7 is also called AFX IATA Version 1.2\n\n\t-v : Print the version number and exit\n\nNotes for particular agencies :\n\n\tExtel is\t-s\/-p -e#Z -C# -1 -6 [opt -K]\n\tor\t\t-s\/-p -e#Z -tn#Z -C# -1 -6 [opt -K]\n\tor version 7\t-s\/-p -7\nExtel V7 fields are\n\tLine\tField Name\tFip Header field (if X?, it is part of the SH)\n\t1\tService Desig\t\tXS\tv7_S\n\t\tService Number\t\tXN\tv7_N\n\t\tOriginCode\t\tXO\tv7_O\n\t\tReference Field\t\tXR\tv7_R\n\t\tUniqueStoryNo\t\tXU\tv7_U\n\t2\tPriority\t\tXP\tv7_P\n\t\tService Code\t\tXC\tv7_C\n\t\tCorrection Code\t\tXY\tv7_Y\n\t\tDestination Code\tXX\tv7_D\t\t** 0.20 **\n\t\tSubjectCode.1-4\t\tXB\tv7_B\n\t\tCountryCode.1-4\t\tXT\tv7_T\n\t\tIndustryCode.1-4\tXI\tv7_I\n\t\tStory Type Code\t\tXZ\tv7_Z\t\t** 0.20a **\n\t3-?\tCompanyName.1-5\t\tE?\/F?\/G?\tv7_E\n\t\tTicker.1-5\t\tE?\tv7_E\n\t\tCountry.Reg.1-5\t\tE?\tv7_E\n\t\tSedol.1-5\t\tE?\tv7_E\n\t\tISIN.1-5\t\tE?\tv7_E\n\t\t(upto 15 company names)\n\t8\tDateTime\t\tEZ\tv7_E\n\t9\tHeadline\t\tXK\tv7_K\n\n(copyright) 2014 and previous years FingerPost Ltd.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>zwire ZWIRE receives an IATA or IATA-derivative news wire. The header is parsed and put in the FIP header field SH. The file is slotted into the spool\/2brouted queue for IPROUTE to process and route. Input Parameters : Mandatory : -n : name of this wire (usually the agency) default: none either -s : &#8216;px25&#8217;, [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"parent":495,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"page-templates\/full-width.php","meta":[],"_links":{"self":[{"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/pages\/3448"}],"collection":[{"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/comments?post=3448"}],"version-history":[{"count":0,"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/pages\/3448\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/pages\/495"}],"wp:attachment":[{"href":"https:\/\/www.fingerpost.co.uk\/wp\/wp-json\/wp\/v2\/media?parent=3448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}