<<

Contents

Search

>>

 

CHAIN

 

 

Instruction

 

 

Syntax:

CHAIN <Programname>[,<Parameter>]

 

<Programname>

= <STRING-EXPRESSION>

<Paramater>

= <STRING-EXPRESSION>

 

 

Meaning:

Starts another program and terminates the current program.

 

The chained program has to be an Ebus-J program.

 

If a <Parameter> is specified in the chained progam the variable EBUS_COMMAND$ contains the <Parameter>.

 

With Java programs the file run_<Programname>.bat (Windows) resp. run_<Programname>.sh (Unix/Linux) is started.

 

With Java-2T programs the file run_<Programname>_Client.bat (Windows) resp. run_<Programname>_Client.sh (Unix/Linux) is started. This file has to be on the client computer. The file is started with the same parameters with which the calling program has been started.

 

Attention: When <Parameter> is specified the Java-2T-Client-Programm has to be started with Serveraddress and Clientaddress: run_<Programmname>_client.bat  <Serveraddress> <Clientaddress>

If <Clientaddress> is missing <Parameter> will be used as Clientaddress.

 

With Html programs the chained program is started on that computer (WEB server) on which the calling program has been started.

 

Parameter:

Programname

Name of chained program

 

Sample:

CHAIN "Pinvoice"

 

See also:

SHELL

SHELLW

SHELL_CLIENT

SHELLW_CLIENT