SOURCE LIKE

Syntax:

SOURCE sourcename LIKE sourcename:

attribute_overrides;

A SOURCE can use another SOURCE for default values. This is useful when you want to declare several SOURCEs with similar attributes. The following is a sample entry:

SOURCE KPMDB:

DATABASE = DESCRIPTION/KPMDB ON DISK,

USERCODE = HRD,

FILTER = KPROP,

SUPPORT = OBJECT/DATABRIDGE/SUPPORT/KPMDB;

SOURCE KPMDBONLYBANK1 LIKE KPMDB:

FILTER = ONLYBANK1;

In this example, KPMDBONLYBANK1 has all of the same options as KPMDB except that it uses a different filter.

If the target source is not found, the Server Accessory displays the following error message:

"DBServer: Source not found (at line nnn): targetname"