RunUnitGetEnvironmentVariable Method

MicroFocus.COBOL.RuntimeServices
Gets the contents of the specified environment variable

Namespace:  MicroFocus.COBOL.RuntimeServices
Assembly:  MicroFocus.COBOL.RuntimeServices (in MicroFocus.COBOL.RuntimeServices.dll) Version: 1.2.3.4
Syntax

public string GetEnvironmentVariable(
	string name
)

Parameters

name
Type: SystemString

Return Value

Type: String

Implements

IRunUnitGetEnvironmentVariable(String)
Remarks

NOTE: the environment variables in the process remain unaffected.
Examples

myRunUnit.GetEnvironmentVariable("DD_MYFILE");
See Also

Reference