Kourier Integrator Online Help

KMK.GETU2ID

Declaration

SUBROUTINE KMK.GETU2ID(FILENAME, INDEX.NAME, U2ID, XID, ERR, PARAMS)

Description

This subroutine can be used to find the UniData/UniVerse item-id associated with the remote system's unique identifier.

Input Interface

FILENAME

The file to be read from (intg_XREFS, app_file).

INDEX.NAME

The index used to find the remote system's unique identifier. This is normally "F1".

U2ID

Undefined

XID

External (remote) item-id.

ERR

Undefined

PARAMS

Undefined

Output Interface

FILENAME

Unchanged

INDEX.NAME

Unchanged

U2ID

U2 ID associated with the remote ID (if found), otherwise null is returned.

XID

Unchanged

ERR

If non-null, indicates the error number found in KT_MESSAGE.

PARAMS

If ERR is non-null, indicates the parameters for the error message.

Scope of Use

This subroutine can be used anywhere within Kourier but it is most often used when importing information.

Example

1.
CALL KMK.GETU2ID('KS_XREFS,ENTITY','F1',U2ID,KSID,FATAL.ERR$,FATAL.PARMS$)

Related Topics: 

Kourier TCL Commands Overview

Kourier Service Commands

Kourier Command Keywords