GetInstalledPathCodes

Environment - Process

Minor Business Rule

Object Name: B9800182

Parent DLL: CCORE

Location: Client

Language: C

1.Functional Description

1.1Purpose
Returns the installed path codes from the client.

1.2Setup Notes and Prerequisites

1.Run this only on a Win32 OneWorld client.
2.Run the function in mode '1' to determine how many path codes are installed.

3.Run the function in mode '2' in a loop to fetch each path code in succession.


1.3Special Logic

This uses Win32 functions and is Microsoft specific.  This function cannot compile on the servers.

^

Data Structure

D9800182A - Get Installed Path Codes

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charREQINPUT

'1' - The number of installed path codes is returned in mnNumInstalledPathCodes 
'2' - The path code identified by the mnPathCodeNum is returned in  szPathCodeab 


^

mnPathCodeNumMATH01MATH_NUMERICOPTINPUT

The index number for the passed back  szPathCode.ab 

^

szCodePathPATHCDcharOPTOUTPUT

The installed path  code.ab 

^

mnNumInstalledPathCodesMATH01MATH_NUMERICOPTOUTPUT

The number of installed path codes on the  client.ab 

^

Related Functions

None

Related Tables

F00942 Object Path Master File
GetLocalClientMachineID

GetLocalClientMachineID

Environment - Process

Minor Business Rule

Object Name: B9800182

Parent DLL: CCORE

Location: Client

Language: C

1.Functional Description

1.1Purpose

This function returns the local computer name.


1.2Setup Notes and Prerequisites

None


1.3Special Logic

Calls jdeGetHostName() with '1' in the last parameter to force the return of the actual computer 

name.


Data Structure

D9800182E - Get Local Client Computer ID

Parameter NameData ItemData TypeReq/OptI/O/Both
szMachineKeyMKEYcharREQOUTPUT

The Location or Machine Key indicates the name of the machine on the network (server or workstation).

Related Functions

None

Related Tables

F00942 Object Path Master File
GetOSInfo

GetOSInfo

Environment - Process

Minor Business Rule

Object Name: B9800182

Parent DLL: CCORE

Location: Client

Language: C

1.Functional Description

1.1Purpose

This function returns the global Microsoft OS variables.  These variables are used by the calling 

application to determine the version of Microsoft Windows the client is running on.


1.2Setup Notes and Prerequisites

The calling application will have to understand what the following Microsoft Windows variables mean:

• _osver
• _winmajor
• _winminor
• _winver

1.3Special Logic

This function can only run on a Microsoft Windows client.


Data Structure

D9800181B - Get Operating System Information

Parameter NameData ItemData TypeReq/OptI/O/Both
ui_osverAPPLIDIDNONENONE

Current build number of  Windows.ab 

^

ui_winmajorAPPLIDIDNONENONE

Major version number of  Windows.ab 

^

ui_minminorAPPLIDIDNONENONE

Minor version number of  Windowsab 

^

ui_winverAPPLIDIDNONENONE

Holds value  of _winmajor in the high byte and _winminor in the low  byte.ab 

^

Related Functions

None

Related Tables

F00942 Object Path Master File
IsEnvironmentPresent

IsEnvironmentPresent

Environment - Process

Minor Business Rule

Object Name: B9800182

Parent DLL: CCORE

Location: Client

Language: C

1.1Purpose
Verifies if an environment is present on a local client or deployment server.


1.2Setup Notes and Prerequisites

None


1.3Special Logic

This function uses Win32 functions and can only run on a Microsoft platform.



Data Structure

D9800182D - Environment - Destination Information

Parameter NameData ItemData TypeReq/OptI/O/Both
szUsrLibListNameLLcharNONENONE

A OneWorld  environment.ab 

^

szPathCodePATHCDcharNONENONE

Returns the path code of  szUsrLibListName.ab 

^

szMachineKeyMKEYcharNONENONE

'Y' - Directory exists 
'N' - Directory does not  existab 


^

Related Functions

None

Related Tables

F00942 Object Path Master File
IsPathCodeDirectoryPresent

IsPathCodeDirectoryPresent

Environment - Process

Minor Business Rule

Object Name: B9800182

Parent DLL: CCORE

Location: Client

Language: C

1.Functional Description

1.1Purpose
This function checks to see if the passed in path code exists on the client.

1.2Setup Notes and Prerequisites

None.

1.3Special Logic

This runs only on a Win32 client.

^

Data Structure

D9800182F - Is Path Code Directory Present

Parameter NameData ItemData TypeReq/OptI/O/Both
szCodePathPATHCDcharREQINPUT

The path code is a pointer to a set of OneWorld objects, and is used to keep track of sets of objects and their locations within OneWorld.

cIsPresentEV01charOPTOUTPUT

'1' - Path Code directory exists 
'0' - Path Code directory does not  existab 


^

Related Functions

None

Related Tables

F00942 Object Path Master File
ProcessEnvironmentSelection

ProcessEnvironmentSelection

Environment - Process

Major Business Rule

Object Name: B9800182

Parent DLL: CCORE

Location: Client

Language: C

1.Functional Description

1.1Purpose

This function does the following:

• Updates the EnvironmentName field in the SVR section of the jde.ini with the passed in path code.
• Updates the LibraryListName field in the SVR section of the jde.ini with the passed in environment.

1.2Setup Notes and Prerequisites

This function should only be used by the environment selection form and should not be used by any 

other application.


1.3Special Logic

None


Data Structure

D9800181 - Environment - Environment Field

Parameter NameData ItemData TypeReq/OptI/O/Both
szEnvironmentNameENHVcharNONENONE

Not Used.
^

szUserIdUSERcharNONENONE

The code that identifies a user profile.

szSignOnPassWordPSWDcharNONENONE

The password used to sign on the user to the J.D. Edwards menu driver.

szPathCodePATHCDcharNONENONE

The path code is a pointer to a set of OneWorld objects, and is used to keep track of sets of objects and their locations within OneWorld.

szLibraryListLLcharNONENONE

A OneWorld environment
^

szRoleFRROLEcharOPTNONE

The role that contains other roles, users, or machines.

Related Functions

None

Related Tables

F00942 Object Path Master File