(Contents)(Next)

Starting LOAD

Format:

Starting LOAD (general format)

load

After the connect, you are in input mode where the LOAD commands can then be entered.

Specifying a TIMEOUT Value

The SESSION TIMEOUT value determines the time interval at the end of which the session will be terminated if it was not active. The database administrator can determine this value for the whole database or for a single user on his creation (default: 300 seconds). The option -t allows the user to specify a smaller value in seconds. A value larger than predefined produces an error message.

load -t 90

The database session started with this command is terminated after 90 seconds of inactivity.

Specifying an SQLMODE

The option -S can be used to specify the SQLMODE desired for the start. If the option is not used, LOAD works in the default mode ADABAS.

load -S ORACLE

Specifying a Command With the Start

In LOAD, command files can be started interactively or in batch mode. Calls are for the

1) interactive mode:

load -u parker,secret -d testdb -r filename

LOAD executes the statements of the command file and then displays the input window. If -P (PROMPT) was not specified, LOAD executes the indicated command file in NOPROMPT mode.

2) batch mode:

load -u parker,secret -d testdb -b filename

In this case, LOAD suppresses any screen interaction and terminates after execution.

The command file is always executed in asynchronous mode; i.e., it can also run as background process.

3) execution with parameter transfer

load -r filename 21.00 Mayr

load -b filename 21.00 Mayr

In this example, the values '21.00' and 'Mayr' are assigned to the formal parameters of the command file 'filename'. The blank has the effect of a separator between two parameters.


(Contents)(Next)