Cablink and Roadrunner EDI

Cablink and RoadRunner can exchange information by means of the EDI module.

Messages from the Cab Units are accumulated as "*.Clk" files in a directory on the Cablink Server.

Periodicaly the cron daemon, invokes RTedi to fetch these files from the Cablink server, and post the details in to the corresponding entry in the Bookings File.

Information Transfered

Software Used

Cobol Programs

Minimum Release level is :- __________

RRCABLQTImport Program
RRCABLRTInteractive Config

RTedi

Configuration

This is in tree parts, enteries in italics are discresionary values, but must be consistent trought out.

Cablink Server

Configure an FTP daemon on the Cablink server. This is to grant access to the directory that is to contain the EDI files, based on a name and password.

Roadrunner Server

Create a system User on the Roadrunner Server. The user should be in the groups rm85 and datalink.

In this users home directory create a .netrc owned by the user. The file should contain a machine line

machine cablink login user Password password

Where the following apply :-
cablinkIs the host name or IP address of the cablink server
useris the username created for the FTP user account
passwordis the password for the FTP user account

THe file should have its access restricted to just read access for its owner, which must be the users whoes directory it is in.

While loged in as this user, run RTedi in menu mode to create the neccesary directories and config files.

RTedi -m

Edit bin/edi.var to as a minimum set the following variables.

EDI_Import_Dir
EDI_Import_FetchCmdftp
EDI_Import_Hostcablink
EDI_Import_Method
EDI_Import_Pattern"*.Clk"
EDI_Import_ProgramRRCABLQT

Roadrunner

Login as system manager and run the utility program RRCABLRT to set up the transfer directory used.

There is no Cobol Export Program as such. Output is being handled as a print layout.

For the export Side you need to run the utility ___________ to setup a "CABLINK" printer for sending pod's to the in cab terminals.

This should write out bound messages in to a configured directory. This directory needs to be set to the group datalink, with the sgid attribute bit set.

The output program needs to make a system call to grant Read and Write access based on Group Permisions.
chmod g+rw filename

EDI_Export_directory