Broadcast Agent scripts: Update AccountingIntegrator Enabler Rule Engine configuration

Update scripts

RCHRP program syntax and prerequisites

Using the RCHRP program

RCHRP error messages

Update scripts

Script Action

RDJRCH

Updates the sys.dat, usr.dat and trc.dat files from the data in the ctx.mvt file generated by the Agent

RDJMAJ

Updates the index files with data from the mvt.mvt file

RCHRP program

Prerequisites

To function correctly, the RchRp.exe program requires:

  • A resource configuration file located in RDJ_EXEC/DAT.
  • A configuration update file, ctx.mvt produced by the Broadcast Agent.

Syntax

Command line: RchRp <update file> [-[t|d]] [-L.uk] [-b]
 

Parameter Meaning

-t

Log mode

-d

Debug mode

-b

Blank mode: output files are not dated

[-L.uk]

Sets the section names in English by default

Using the RCHRP program

Modes

By default, the RCHRP program functions in add/replace mode. To use the program in delete mode, you must specify the #Remove tag in the header in the update file. The Broadcast Agent generates this line automatically when you run a BackToDesign operation in Composer.

Sequence

RCHRP processes a ctx.mvt file in the following sequence:

  1. Identifies the potential sections in the Resource file to update and the file which currently stores the sections
  2. If a section needs to be updated, but the file does not exist, RCHRP creates the associated file and completes the section.

RCHRP error messages

Constant Value Meaning

ERR_PARAM

100

Error in RchRp.exe parameters

ERR_PROG

200

Unknown error

ERR_MALLOC

201

Memory allocation error

OUT_CAPACITY

202

Application processing capacity exceeded

FIC_ERROR_OPEN

210

Error opening file

FIC_ERR_CLOSE

 211

Error closing file

FIC_ERR_ERASE

212

Error deleting file

FIC_ERR_READ

213

Error reading file

FIC_ERR_WRITE

214

Error writing file

FIC_ERR_SEEK

215

Error positioning pointer in file

FIC_ERR_END

216

Unable to read file completely

LINE_MAX_ENTETE

310

Exceeded authorised header length (80 characters)

LINE_ERREUR

311

Incorrect header (no header found)

LINE_EMPTY

312

Empty character string

LINE_FIN_ABS

313

No CAR_POINT line end

LINE_ERR_PARAM

314

Missing parameters in line in Resource file

SEC_ERREUR

401

Header section incorrect

LINE_REF_ERREUR

501

Incorrect line in the reference file

DEST_ABS

502

Section without destination

Back to top

Related Links