#
# PxPlus Journal directory send configuration file
#
# This file contains the configuration parameters for the journal transmission program
# *plus/jrnl/send.
#
# Each line can be a comment or variable definition.  A variable definition contains the
# name of the variable, an equal sign (=) and the value.  If the value is numeric then the 
# variable name will be considered a numeric variable.  If not numeric then a string variable
# will be created.  (To force string surround the value with quotes ")
#
# Note: The values of YES or TRUE will be considered numeric 1, while NO or FALSE 0.
#
#    e.g.   COMPRESS_DATA=YES  is same as COMPRESS_DATA=1
#
#    
# Blank lines or lines starting with #, ! or ; are considered comment lines
# 
# The default values for most values have been placed in this file as comments starting with #!!
#
# ------------------------------------------------------------------
# General information
#
# The DIR value can be defined to override the directory in which the journal files
# to send can be found.  This directory will also be used to hold the log and other
# related files.  If not specified the current directory will be used.

#!! DIR="."

# The LOGFILE value defines the pathname for the logfile that will receive any error messages.
# If not set the system will use the FILEID+".log" as the name of the file in the journal
# directory.  Should an error occur in the config file *prior* the definition of the logfile
# the default log file of "send.log" will be used.

#!!LOGFILE=send.log


# The FILEID value can be used to uniquely identify control files (error log, etc.)
# used by this sending process.  The default value is "send" thus the default error
# log will be "send.log". 
#
# The FILEID can be changed if running multiple transmission programs from within the
# same directory.  Using different values allows you to properly track/monitor the 
# different transmission programs.
#
# If present and not "send", all log files will be prefixed by the FILEID

#!!FILEID=send

# The COMPRESS_DATA value can be used to indicate that the data being sent is to be compressed
# It must be set the same at both ends (sender and receiver).

#!!COMPRESS_DATA=YES

# ------------------------------------------------------------------
# Connection information
#
# The TCPADDR value defines the IP address and/or name to the target system.
# The port to use is defined by the TCPPORT value (default if not set is 4913)
# Any additional PxPlus TCP options can be provided in TCPOPTIONS

#!! TCPADDR=localhost
#!! TCPPORT=4913
#!! TCPOPTIONS=

# The PASSWD value is used to secure the handshake. Both a sender and receiver must
# have the same PASSWD value.  Using the PASSWD helps eliminate spoofing of the 
# connection.

#!! PASSWD=HooHa

# The IDLE_WAIT defines how long (secs) the system will sleep for between checking the
# journal files to see is more data is ready to be sent.

IDLE_WAIT=5

# The RECONNECT_TIME defines the time (secs) that the system will wait before attempting to 
# re-connect to the target system should an error occurs and the connection get dropped.

#!!RECONNECT_TIME=30

# The CHECK_TIME defines how often (secs) the system will forcibly send a message to the
# target system in order to check that the connection is still alive.  The check request
# will only be sent out if not other activity occurs

#!!CHECK_TIME=30

# The RECV_TIME defines how long (secs) the system will wait for a response from the
# target system before considering the message lost.

#!!RECV_TIME=10

# ------------------------------------------------------------------
# Notification information
#

# Whenever a serious error occurs the system can automatically send an email to the
# email address specified in MAILTO.  It uses the smtp server defined in SMTP.
#
# The from address can be set using the MAILFROM parameter
#
# If MAILTO and SMTP and not set, no mail is generated.

# MAILTO=person.to.contact@example.com
# SMTP=mail.example.com
# MAILFROM=person.to.sendfrom@example.com

    