iproyses

iproyses

This program loops around a queue and sends files to the Reuters IDN via a
Small Exchange Server (SESAPI)

From version 01m+ it can send/manage either LongPages and/or NPS/NTM files.

    max-dynamic-pages:
    max-static-pages:
        number of dynamic and static pages
        default - dynamic   6
        default - static    14

    balance-data: (name of balance group)

    purge-hours:
        default: 300 for 300 hours

    send-status: (no of seconds)
        Set to zero for no heartbeat
        default:30

    stream-fiphdr:      default AS
    usn-fiphdr:     default AI
    action-fiphdr:      default AA
    headline-fiphdr:    default AH
    date-fiphdr:        default AD
    banner-fiphdr:      default AY
    bannerdate-fiphdr:  default AE
    im-fiphdr:      default AM

    ric-prefix:     default: x

    timing-stats: (yes/no)  Turn on/off timing statistics
            over, use this to grab the file quickly

    ric-sep: (chr)
        this should match the span separator in tables/sgml/XXNEWSML.FIP
        default is '|' (was '=')

    wrap-text:64
        wrap lines at first space before this
        to ignore, set to 0
        default is 80

    stream: check if NPS version and/or LongPage version is required.

; stream: check if NPS version and/or LongPage version is required.
; stream:(name)     LongPageCode|NPS-PNAC|NPS-RR|TZ|TZ
offset|IgnoreTime|PurgeHours|Headline Prefix|extra Products|extra Topics|Desc
;   LongPageCode        if using LongPages, code to use (ignored - stream code is
used)
;   NPS-PNAC        if using NPS, PNAC to use   no default
;   NPS-RR          if using NPS, Recurring Report  no default
;   TZ          3 letter Time Zone      default: GMT
;   TZ offset       Offset as signed dec        default: 0  eg -5.30 for IST
;   IgnoreTime      flag to blank the time-headline default: allow  values: NO or
anythingelse
;   PurgeHours      Purge time in hours     default: 30 hours (or purge-hours parameter)
min: 24 hours
;   Headline Prefix     for NPS             default: none
;   extra Products      for NPS             default: none
;   extra Topics        for NPS             default: none
;   Remarks         just comments
; Note - dash and or space signifies a nothing !
stream:EUXN EUXN|EUSTXNEWS|STOCKS/EU| | | |0|EUROPE STOCKS
ROUNDUP|PRL||European Stocks News

; Market Eye - Indian Standard time
stream:MEYE MEYE|-|-|IST|-5.30|
; FirstonCommods - no time pls and no purge
stream:FSTC FSTC|-|-|||NO|NO

stream:UKXN UKXN|UKSTXNEWS|STOCKS/UK| | | | |UK STOCKS ROUNDUP|PRL||UK Stocks
News
stream:USXN USXN|USSTXNEWS |STOCKS/US| | | | |US STOCKS ROUNDUP|PRL||US Stocks
News
stream:MMNEWS   MMNEWS|MMNEWS|MMNEWS| | | | |MONEY MARKET ROUNDUP|MMN PRL||Money
Market News
stream:FINEWS   FINEWS|FINEWS|FINEWS| | | | |FIXED INCOME ROUNDUP|FIXI PRL||Fixed
Income News
stream:FXNEWS   FXNEWS|FXNEWS|FINEWS| | | | |FOREX ROUNDUP|FXN PRL||Foreign
Exchange News

;
;   ROYSES.fip  plug in for Reuters SmallExchangeServer
;

password:fred

; "CSESES" is an internal identifier - not critical except for tracing
; different types of data entry within SES. If the SESHeartBeat call is
; also used, the task identifier must be consistent between them.

ident:FIPXXNEWS

; BALANCE Snippets and Headers
balance-data:sescopy

; ends
Where sections of FipHdr fields are required or changes to the output style,
use keywords : fixed, partial, combie, optional, repeat, newdate and/or style.
(see The SysAdmin manual for more information).

    They are normally specified :
        fixed:QZ    1234543
        partial:QT  ST,3,2,U,<,>
        combie:QY   ep|na,(0000000)a
        option:QE   ep,11,7,s
        repeat:QK   XK,-,3
    or  repeat:QP   PK,,4,#X
        style:QS    XN,%.03d
        newdate:
        replace:

Input Parameters are :
    -i : queue to scan for input            default: spool/2royses
        This can be specified as a queue under /fip/spool or
        if it starts with a '/', the complete pathname. Note that in
        the second case, the queue MUST reside in the same partition
        as spool.
OR  -1 : name of file to send where we are sending a single file. def:none
        This can be specified as a queue under /fip/spool or
        if it starts with a '/', the complete pathname. Note that in
        the second case, the queue MUST reside in the same partition
        as spool. The input file is NOT deleted in this case.

Optional parameters :
    -2 : Run in DUAL SES server mode        default: single server
    -9 : do not use Speedy on a Speedy Fip
    -C : blank all pages for this stream and stop   default: no
        eg iproyses -C testa
    -d : done queue                 default: file is deleted
    -l : do not log each file as it is printed  default: log
    -M : maximum bytes for an NPS story     default: 32000
    -n : always use NPS version         default: check code table
    -N : never use NPS version          default: check code table
    -p : always use LongPage            default: check code table
    -P : never use LongPage             default: check code table
    -Q : log everything                 default: do NOT log duplicates and deletes
    -w : time between scans of directory        default: 5 secs
    -z : parameter file             default: none
    -v : print version no and exit

-----------------------------------------------
Installation issues
    SESapi32.dll should be in \fip\bin and \fip\bin MUST be in the PATH of the
System (ie Control Panel/System/environment/path)

SES Setup/Initialisation notes (from the SES zip file)
------------------------------

NB: ses.ini for V5.00 is the same as for earlier versions: if you
have already been running an earlier version, there is no need to
follow this section.

Edit c:\ses32\ses.ini, setting the line

    HOST=mh7186

to your own machine name, e.g.

    HOST=mynode

(the same name as used in the TCP/IP configuration section).

Copy   c:\ses32\ses.ini   to   c:\windows

For Fip we really want to check :
    - no SESROUTE running on the workstation machine.
    - a SES.INI file in the Windows directory of the workstation machine.
    - the HOST= line in SES.INI set to point to the nodename of the SESROUTE
server machine.
    - sesapi32.dll in the Windows directory of the workstation.

Version control
;001m10 12dec05 ripple dynamic before static
    ;d 12jan06 SESdual needs to check BOTH codes..
    ;e-k 28may06 spansepo '=' -> '|' and send-status and Wrapping
    ;l 24jun06 use first ric as the heartbeat
    ;m1-3 30jul08 added NewsCommit ;45 23jul09 added TZ, TZoffset, ignoreTime,
PurgeHours in streams
        ;6-7 added -C to clear pages and stop and NO-purge
        ;8-10 11oct10 only msg delete if file is there and -Q added
;000z3  21may05 chris original version
    ;j-k 26sep05 allow xZZZ-DPAGE001 etc, log message, blank lines if no data
    ;l-r 30sep05 <FipSplit>/<FipData>
    ;s 19oct05 split pages into 12 lines each and zap_snip for corrections
    ;t-u 01nov05 added fipSpan
    ;v 11nov05 allow blank lines in snippets plus purge ->30
    ;w-x 21nov05 allow snippets with no data ! and added snip.found for Withdrawls
    ;y-z2 30nov05 woops 800 chain links/239 refcount added sesPrefix

(copyright) 2016 and previous years FingerPost Ltd.