REPOSITORY Command

REPOSITORY — Command interface to application repository.

Synopsis

REPOSITORY DELETE repository_table_name

REPOSITORY GET repository_table_name

REPOSITORY TEST repository_table_name

REPOSITORY PUT repository_table_name

REPOSITORY CLEARINSTANCE repository_table_name.record_name INSTANCE instance_ref

REPOSITORY GETINSTANCE repository_table_name.record_name INSTANCE instance_ref SEQUENCE sequence_no

REPOSITORY OBJECTLIST repository_table_name FILTER filter_ref LISTSTORE list_store_name [ FIELDS data_dictionary_name [data_dictionary_name...] ]

Introduction

The REPOSITORY command is a command interface to Application Repository. Since this command can only be used for accessing the system repository, it should only used in developer applications. To access relational databases and to use the powerful SQL query language the command SQL should be used. With the built-in function REPOSITORYSTATUS(), the status of the last performed REPOSITORY command can be retrieved. Any value other than 0, means that there was a problem.

Arguments

repository_table_name

Name of a valid and exising repository table definition.

record_name

Name of a valid and exising repository reiteration record definition.

filter_ref

Any data reference or string which holds the key or wild cards for the selection range.

list_store_name

Any data reference or string which holds the name of a valid and existing list store.

data_dictionary_name

Name of the data dictionary to be included in the list. If no dictionary name is provided, then all dictionaries of the record will be included.

instance_ref

Any data reference or string which holds the name of the instance.

sequence_no

Any data reference or numeric value which holds the sequence no.

Example

. . .
. . .
LET F-Application.Constant = V-ApplicationName
LET F-Type.Constant = "Constant"
LET F-Name.Constant = G-Name.Object
REPOSITORY GET Constant
. . .
. . .

Related Commands

None.