Importing configuration from a file

The scconfig registry information and system variables can be exported to a text file, using the form:

scconfig -c filename

The previous saved scconfig registry information and system variables can be imported, using the form:

scconfig -f filename

scconfig reads licence information from the specified file and updates the registry accordingly.

filename must be a text file, which may contain the following statements:

SERIAL=serial_number

The serial number. This cannot contain any spaces or leading zeroes.

ACTIVATION=activation_key

The 24-digit activation key. In this statement spaces can be omitted and case is not significant.

RUNTIME=type users

The number of type Sculptor 2 release runtime users.

Note: This, and all other values for numbers of users listed below, cannot contain spaces.

SERVER=type users

The number of type server users.

INTERPRETER=type users

The number of type Sculptor 6 release runtime users.

WEB=type users

The number of type Internet users.

VERSION=sc_version

Main release Sculptor version this Licence/Activation is for.

SUBVERSION=sc_subversion

Minor release Sculptor subversion this Licence/Activation is for.

SET SYMBOL=definition

SYMBOL is the name of a registry definition to be defined.

definition is its definition, comprising the remainder of the line after the equals sign and excluding the terminating newline.

Any number of symbol definitions may be included.

The word SET must be followed by a single space.

Where the meaning of the number of users is:

type

We support two types of licences:

  • c means concurrent (number of processes running at the same time)

  • t means timed (number of executions in one minute)

users

The limit of users for the specified category, where 0 means not licenced (like not defining the variable) and -1 means unlimited users.

Note the following rules:

  • All statements must be terminated by a newline.

  • The command words must be in upper case as shown above and may not contain, be preceded by or be followed by spaces or tabs.

  • The “=” sign is mandatory in all statements.

  • The activation key must match the serial number, the numbers & type of users and the version/subversion specified.

Note

Changed in version 6.2: Due the licence changes these variables have been affected.

DEVELOPMENT, INTERNET and MOBILE are not used.

RUNTIME and SERVER now need both the type and users specified.

The INTERPRETER, WEB, VERSION and SUBVERSION have been added.

EXAMPLE

SERIAL=12345678
RUNTIME=c10
INTERPRETER=c-1
SERVER=c10
WEB=t100
VERSION=6
SUBVERSION=3
ACTIVATION=ABCDEFGHIJKLMNOPQRSTUVWX

RELATED TOPICS

The scconfig program

Command line syntax