Previous Topic: FetchSchemaAscTypeByMnemNext Topic: FetchSchemaPrpTypeByMnem


FetchSchemaObjTypeByMnem

This method returns the object type code associated with the given mnemonic. The only parameter is the mnemonic for the object. Note that object mnemonics always start with the letter "T" and may be no more than eight (8) characters in length. If the mnemonic would be longer than eight characters with the addition of a "T" on the front, then the last character of the mnemonic is dropped.

Syntax

object.FetchSchemaObjTypeByMnem pszMnemonic

Parameters

pszMnemonic

A string value representing the object mnemonic.

Remarks

EAPI_SUCCESSFUL_RC - indicates a successful execution

EAPI_MNEMONIC_INVALID_RC - if mnemonic is invalid