GetEnvironmentValue

Get Environment Value

Master Business Function

Object Name: B9900410

Parent DLL: CDBASE

Location: Client/Server

Language: C

Return the status/availability of a given OneWorld module.  

The status returned is based entirely on the setting in the F99410 table, and not on the modules 

currently installed.  

This allows installed modules to be conveniently deactivated in particular environments.


Assumption: Modules indicated as available in F99410 are actually installed.


ParameterI/ODescription

szDataItemInputF99410 item to query.

cModuleExistanceOutput'1' if module available.

'0' if module unavailable.


Returns:

ER_SUCCESS on success


ER_FAILURE if low level table I/O fails

(cModuleExistance is set to '0' on ER_FAILURE)


(In event rules test [SV Error_Status] for CO SUCCESS or CO FAILURE)


Data Structure

D9900410 - Get Environment Value

Parameter NameData ItemData TypeReq/OptI/O/Both
szDataItemDTAIcharNONENONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cModuleExistanceMEOWcharNONENONE

A code to indicate a particular module has been installed in your system.

Related Functions

None

Related Tables

F99410 OneWorld System Control File