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.
RRCABLQT | Import Program |
RRCABLRT | Interactive Config |
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 :-
cablink | Is the host name or IP address of the cablink server |
user | is the username created for the FTP user account |
password | is 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_FetchCmd | ftp |
EDI_Import_Host | cablink |
EDI_Import_Method | |
EDI_Import_Pattern | "*.Clk" |
EDI_Import_Program | RRCABLQT |
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