Top Method Summary
Options Name Purpose
CHARACTER FindSclRoot () Returns the SCL root folder of the current session
CHARACTER GetJsonCharacter (JsonObject, character) Returns the character value of a JSON property
INT64 GetJsonInt64 (JsonObject, character) Returns the int64 value of a JSON property
GetPackages (table) Returns the packages of the installation
ReadCompiledInPackages (character) Adds the packages compiled in to the package list
ReadInstallationState (character) Reads the configuration and the state of the package manager
ReadManifests (character) Adds the packages installed by the package manager to the package list
ReadPackages (character) Reads the packages of the installation
UpdateStatus () Assigns the status text of the packages and counts the mismatches

Top Constructor Summary
Options Name Purpose
SclPackagesInfo () Constructor for the SclPackagesInfo class
SclPackagesInfo (character, character) Constructor for the SclPackagesInfo class

Top Property Summary
Options Name Purpose
CHARACTER Channel
LOGICAL IsPackageManagerInstallation
INTEGER MismatchCount
CHARACTER Platform
INT64 Release
CHARACTER SclRoot
CHARACTER SelectedPackages
CHARACTER Source
CHARACTER Updated


Method Detail
Top

CHARACTER FindSclRoot ()

Purpose: Returns the SCL root folder of the current session
Notes: The folder that contains Consultingwerk/Packages.r (or .cls) on
the PROPATH - that is the r-code that reports the packages
compiled in. Forward slashes, no trailing slash

Returns CHARACTER
The SCL root folder or an empty string when it cannot be found
Top

CHARACTER GetJsonCharacter (JsonObject, character)

Purpose: Returns the character value of a JSON property
Notes: Empty when the property is missing or not a string

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JsonObject
pcName CHARACTER
The name of the property
Returns CHARACTER
The character value
Top

INT64 GetJsonInt64 (JsonObject, character)

Purpose: Returns the int64 value of a JSON property
Notes: ? when the property is missing or not a number

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The JsonObject
pcName CHARACTER
The name of the property
Returns INT64
The int64 value
Top

GetPackages (table)

Purpose: Returns the packages of the installation
Notes: One record per package, sorted by name

Parameters:
ttSclPackage TEMP-TABLE ttSclPackage
OUTPUT TABLE with the packages (Consultingwerk/Util/SessionInfo/ttSclPackage.i)
Top

ReadCompiledInPackages (character)

Purpose: Adds the packages compiled in to the package list
Notes:

Parameters:
pcCompiledInPackages CHARACTER
The comma delimited list of the packages compiled in
Top

ReadInstallationState (character)

Purpose: Reads the configuration and the state of the package manager
Notes: scl-packages.json (channel, selected packages) and
.scl-packages/state.json (release, platform, last sync). A file
that cannot be read is reported in the Source property

Parameters:
pcMetaDir CHARACTER
The .scl-packages folder
Top

ReadManifests (character)

Purpose: Adds the packages installed by the package manager to the package
list
Notes: Every package has a manifest <package>.json in the .scl-packages
folder; state.json and pending.json are no manifests. A manifest
that cannot be read is listed with the error instead of failing
the session info

Parameters:
pcMetaDir CHARACTER
The .scl-packages folder
Top

ReadPackages (character)

Purpose: Reads the packages of the installation
Notes:

Parameters:
pcCompiledInPackages CHARACTER
The comma delimited list of the packages compiled in
Top

UpdateStatus ()

Purpose: Assigns the status text of the packages and counts the mismatches
Notes: Only a package manager installation is compared with packages.i



Constructor Detail
Top

SclPackagesInfo ()

Purpose: Constructor for the SclPackagesInfo class
Notes: Reads the packages of the current installation: the SCL root is
the folder of Consultingwerk/Packages on the PROPATH, the
packages compiled in come from Consultingwerk.Packages

Top

SclPackagesInfo (character, character)

Purpose: Constructor for the SclPackagesInfo class
Notes: Used by the unit tests to read a given folder

Parameters:
pcSclRoot CHARACTER
The SCL root folder, may be empty
pcCompiledInPackages CHARACTER
The comma delimited list of the packages compiled in


Property Detail
Top

CHARACTER Channel


Returns CHARACTER
Top

LOGICAL IsPackageManagerInstallation


Returns LOGICAL
Top

INTEGER MismatchCount


Returns INTEGER
Top

CHARACTER Platform


Returns CHARACTER
Top

INT64 Release


Returns INT64
Top

CHARACTER SclRoot


Returns CHARACTER
Top

CHARACTER SelectedPackages


Returns CHARACTER
Top

CHARACTER Source


Returns CHARACTER
Top

CHARACTER Updated


Returns CHARACTER


Temp-Table Detail

Temp-Table ttSclPackage

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.11.2026 10:13:24