Top Method Summary
Options Name Purpose
GetFilesFromLibrary (character, character, table) Returns the list of files from the given procedure library
GetFilesFromLibrary (character, table) Returns the list of files from the given procedure library
CHARACTER GetMemberNameFromListing (character) Returns the member name from a line of the prolib -list output
CHARACTER QuoteCommandLineArgument (character) Quotes a value as a single argument of a command line executed by OS-COMMAND

Top Constructor Summary
Options Name Purpose
ProcedureLibraryHelper () Protected constructor of the ProcedureLibraryHelper class


Method Detail
Top

GetFilesFromLibrary (character, character, table)

Purpose: Returns the list of files from the given procedure library
Notes:

Parameters:
pcLibraryName CHARACTER
The name of the Procedure Library
pcFileNames CHARACTER
Filter (Matches for the file names)
ttFileNames TEMP-TABLE ttFileNames
OUTPUT TEMP-TABLE with the resulting file names
Top

GetFilesFromLibrary (character, table)

Purpose: Returns the list of files from the given procedure library
Notes:

Parameters:
pcLibraryName CHARACTER
The name of the Procedure Library
ttFileNames TEMP-TABLE ttFileNames
OUTPUT TEMP-TABLE with the resulting file names
Top

CHARACTER GetMemberNameFromListing (character)

Purpose: Returns the member name from a line of the prolib -list output
Notes: SCL-5962: A listing line ends with seven blank separated columns
(Size, Type, Offset, the date and the time of Modified and the date
and the time of Added To Lib). The member name precedes those columns
and may contain blanks itself. A line with fewer columns is returned
up to the first blank, as before SCL-5962

Parameters:
pcLine CHARACTER
The line of the prolib -list output
Returns CHARACTER
The member name
Top

CHARACTER QuoteCommandLineArgument (character)

Purpose: Quotes a value as a single argument of a command line executed by
OS-COMMAND
Notes: SCL-5962: On Windows the value is enclosed in double quotes (a double
quote cannot be part of a file name on Windows). On Unix the value is
enclosed in single quotes, so that the shell does not split it at blanks
and expands neither wildcards nor variables. A single quote in the value
is written as '\'' on Unix

Parameters:
pcValue CHARACTER
The value to quote
Returns CHARACTER
The quoted value


Constructor Detail
Top

ProcedureLibraryHelper ()

Purpose: Protected constructor of the ProcedureLibraryHelper class
Notes: Disallow instance creation



Temp-Table Detail

Temp-Table ttFileNames

Defined in:


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       10.10.2026 15:35:50