FreeInputOutputEnvHandles

Get Input Output Env Handles

Minor Business Rule

Object Name: B8000007

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description
Frees resources allocated by GetInputOutputEnvHandle.
Purpose

Frees resources allocated by GetInputOutputEnvHandle.
Setup Notes and Prerequisites


Special Logic




Technical Specification

If input environment has been initialized, free the environment. If the output environment has been 
initialized, free the environment. Remove the data pointers used to store the the environment handles 

as Id's.



^

Data Structure

D8000007 - Get Input Output Env Handles

Parameter NameData ItemData TypeReq/OptI/O/Both
szInputEnvironmentLLcharOPTNONE

The name associated with a specific list of libraries. The J98INITA initial program uses these library list names to control environments that 
a user can sign on to.  These configurations of library lists are maintained in the Library List Master File table (F0094). This field represents a 
valid environment that can be used to run in PeopleSoft EnterpriseOne.  The environment encompasses both a path code (objects), and a 
data source (data).  When put together, users have a valid workplace within the system.

idInputEnvHandleGENLNGIDOPTNONE

General purpose ID variable.

szOutputEnvironmentLLcharOPTNONE

The name associated with a specific list of libraries. The J98INITA initial program uses these library list names to control environments that 
a user can sign on to.  These configurations of library lists are maintained in the Library List Master File table (F0094). This field represents a 
valid environment that can be used to run in PeopleSoft EnterpriseOne.  The environment encompasses both a path code (objects), and a 
data source (data).  When put together, users have a valid workplace within the system.

idOutputEnvHandleGENLNGIDOPTNONE

General purpose ID variable.

szLoginEnvironmentLLcharOPTNONE

The name associated with a specific list of libraries. The J98INITA initial program uses these library list names to control environments that 
a user can sign on to.  These configurations of library lists are maintained in the Library List Master File table (F0094). This field represents a 
valid environment that can be used to run in PeopleSoft EnterpriseOne.  The environment encompasses both a path code (objects), and a 
data source (data).  When put together, users have a valid workplace within the system.

Related Functions

None

Related Tables

None
GetInputOutputEnvHandles

GetInputOutputEnvHandles

Get Input Output Env Handles

Minor Business Rule

Object Name: B8000007

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description
Gets an environment handle for both the input and output environments based upon the system values in 

table conversion for input, output, and login environments.

Purpose

Used as a parameter to InitUser which is required to open tables in the correct data source when 

working with multiple environments.

Setup Notes and Prerequisites

The environment handles are returned in Id type variables which hold a pointer to the HEnv. Before 

using must call jdeRetrieveDataPtr to convert the Id to a pointer to the HEnv. You must call 

FreeInputOutputEnvHandles after calling this function to free resources created by the call to this function.

Special Logic




Technical Specification

Compare input and login environemts. If not the same, initialize the input environment and store the 

pointer to it. If the same, return pointer to login environment. Compare output and login inviromment. 

If not the same, initialize the output environment and store the pointer to it. If the same, return 

pointer to login environment. 



Data Structure

D8000007 - Get Input Output Env Handles

Parameter NameData ItemData TypeReq/OptI/O/Both
szInputEnvironmentLLcharOPTNONE

The name associated with a specific list of libraries. The J98INITA initial program uses these library list names to control environments that 
a user can sign on to.  These configurations of library lists are maintained in the Library List Master File table (F0094). This field represents a 
valid environment that can be used to run in PeopleSoft EnterpriseOne.  The environment encompasses both a path code (objects), and a 
data source (data).  When put together, users have a valid workplace within the system.

idInputEnvHandleGENLNGIDOPTNONE

General purpose ID variable.

szOutputEnvironmentLLcharOPTNONE

The name associated with a specific list of libraries. The J98INITA initial program uses these library list names to control environments that 
a user can sign on to.  These configurations of library lists are maintained in the Library List Master File table (F0094). This field represents a 
valid environment that can be used to run in PeopleSoft EnterpriseOne.  The environment encompasses both a path code (objects), and a 
data source (data).  When put together, users have a valid workplace within the system.

idOutputEnvHandleGENLNGIDOPTNONE

General purpose ID variable.

szLoginEnvironmentLLcharOPTNONE

The name associated with a specific list of libraries. The J98INITA initial program uses these library list names to control environments that 
a user can sign on to.  These configurations of library lists are maintained in the Library List Master File table (F0094). This field represents a 
valid environment that can be used to run in PeopleSoft EnterpriseOne.  The environment encompasses both a path code (objects), and a 
data source (data).  When put together, users have a valid workplace within the system.

Related Functions

None

Related Tables

None