Switch Settings

Secure Easy IM is invoked by the following call followed by a series of swithces.

jre eforward.client.EdiSend

-h{host}
-p{process}[,destination process]
[-f{file}]
[-r(receive mode)[[j,]process (FILE)]]
[-v]
[-s{subscriber}]
[-w{password}]
[-i{process parameters}]
[-a(single batch mode)[retries]]
[-l{logfile}] [-e(ebcdic){srb}]
[-o{subscriber iBox}] [-d{partner iBox}]
[-j{batch send path}] [-k{batch archive/receive path}]
[-t{[Secure Easy IM port][,local port][,local IP address]}]

Where:

-h{host}

'host' is the domain name or IP address of the host (Secure Easy IM Server) where process specified in the -p switch resides. The default process is 'eforward'.

-p{process}[,destination process]

'process' is the name of the process to be executed by the host when contact is made. 'destination process' is the name of the process to executed by the receiving iBox. The destination process must be in the destination machine's java package 'Edbins', e.g. -p",edit" -> Edbins.Edit( String [] st ) where st[0]=sent_file_name.

[-i{process parameters}]

The 'process parameters' entered after the -i switch will be passed to the 'destination process' identified in the -p switch.

[-f{file}]

When batch sending the -f parameter is used for a filename string match. The match is exact including 'periods', e.g. -f. matches 'test.txt' on the extension separator character (all files with extensions will match). If more than one matching string is desired, then use a comma to separate them, e.g. -ftxt,doc will match any filename with 'txt' or 'doc' in them. This includes the separator.

[-r(receive mode)[[j,]process (FILE)]]

The default mode for Secure Easy IM is "send". Inclusion of the -r switch puts Secure Easy IM into the receive mode.

When receiving, the received file can optionally be processed using the program name following the -r switch. The file name will be the first parameter to the program unless the word FILE appears in upper case within the process command line, e.g. -r"runme.exe firstparm secondparm FILE thirdparm".

If j, proceeds the process then a java class in the package 'Edbinr' will be called , e.g. -r"j,edit" implies: Edbinr.Edit( String [] st ) where st[0]=received_file_name.

[-v]

Inclusion of the -v switch puts Secure Easy IM into the verbose mode whereby operational messages will be printed to the console.

[-s{subscriber}]

Subscriber ID.

[-w{password}]

Password assigned to the local iBox name identified in the -o switch.

[-a(single batch mode)[retries]]

Inclusion of the -a switch will put Secure Easy IM into the single batch mode where 'retries' is the number of attempts to send or receive the batch.

[-l{logfile}] [-e(ebcdic){srb}]

'logfile' is the name (including path) of the file to which logging messages are to be written.

Inclusion of the -e switch will cause Secure Easy IM to convert to between ascii and ebcdic. The parameter immediately following the -e switch indicates when the translation takes place as follows:

  • s Use 's' to indicate that outbound (sent) messages are to be translated to ascii. Inbound messages are not translated.
  • r Use 'r' to indicate that inbound (received) messages are to be translated from ascii to ebcdic. Outbound messages are not translated.
  • b This is the default and indicates that all outbound messages are to be translated from ebcdic to ascii and all inbound messages are to be translated from ascii to ebcdic.

[-o{subscriber iBox}] [ -d{partner iBox}]

'subscriber iBbox' is the ID of the subscriber iBox. 'partner iBox' is the ID of the partner iBox.

If the -d switch is omitted, then the Secure Easy IM Server will look for a Standard message envelope in the file(s) to be sent from which it can obtain the receiver's iBOX address. Standard Envelopes currently supported are: TDCC, ISA & EDIFACT.

[-j{batch send path}] [ -k{batch archive/receive path}]

The 'batch send path' is the path on the local machine from which files will be sent. 'batch archive/receive path' is the archive path when Secure Easy IM is in send mode. 'receive path' identifies the directory into which received files are put when in receive mode.

[-t{[Secure Easy IM port][,local port]}]

'Secure Easy IM port' is the port number on which the Secure Easy IM Server will be listening for contact by the Secure Easy IM. It should be left blank so that the default port number will be used.

'local port' enables Secure Easy IM to specify a specific port number on which it will listen for Secure Easy IM Server callback indicating to Secure Easy IM that a message is pending delivery by the Secure Easy IM Server. This is useful for bypassing the receiver's firewall. If call back is not desired, e.g. because of firewall considerations, set the local port number to '0'.

'local IP address' is an IP address that the Secure Easy IM Server should use for callback. Default value is the current IP address.