This class is a place to create File Creation & Formatting methods used by the PTools Application Package, which was designed to gather performance statistics for any type of Routine, Code Block or SQL Statement. More...
Static Public Member Functions | |
CSVtabHead (metadata, delim) | |
CSV Table Header. | |
CSVtabRow (metadata, delim) | |
CSV Table Data Row. | |
DLMtabHead (metadata, delim) | |
DLM Table Header. | |
DLMtabRow (metadata, delim) | |
DLM Table Data Row. | |
HTMLtabHead (aTag, title, metadata) | |
HTML Table Header. | |
HTMLtabRow (metadata) | |
HTML Table Row. | |
TXTtabHead (metadata, delim) | |
Text Table Header. | |
TXTtabRow (metadata, delim) | |
Text Table Data Row. | |
XMLcolAuto () | |
XML Column AutoFit Width Element. | |
XMLcolWidth (width) | |
XML Column Width Element. | |
XMLrowHeader (metadata) | |
XML Header Row Element. | |
XMLsheet (name) | |
XML Worksheet Element. | |
XMLsort (sortColList, sortOrderList) | |
XML Sorting Element. | |
XMLtabRow (metadata) | |
XML Table Data Row Element. | |
XMLtable (colCnt, rowCnt) | |
XML Table Element. | |
_.Library.Status | condsMatch (conds, d, condValExp) |
Check Conditional Matches. | |
_.Library.Status | createAndOpenFile (file, timeout) |
Create & Open File. | |
_.Library.String | createOrderByList (orderBy, d) |
Create a valid SQL <order-by-list> | |
fileBody (file, format, metadata) | |
File Body. | |
_.Library.Status | fileFooter (file, format, footerMsg, metadata, elapseTime, rowCnt) |
File Footer. | |
_.Library.Status | fileHeader (file, format, title, class, method, version, metadata, bcFlag) |
File Header. | |
_.Library.String | getOutputFile (file, className, methodName, format, hDate, tSC) |
Get the 'outputFile'. | |
_.Library.Status | openFileForRead (file, timeout) |
Open File For Read. | |
This class is a place to create File Creation & Formatting methods used by the PTools Application Package, which was designed to gather performance statistics for any type of Routine, Code Block or SQL Statement.
The following methods are written to be used within Class Definitions, and the equivalent methods within the SYS.PTools.FileCreation.INC file are written to be used within MAC Routines and are written as pure COS methods.
The file formatted that these methods support are driven by the 'format' parameter and support the following formats:
format - The output format of the Export/Reporting file This parameter has the following structure of constituent elements: format=<data-format>[:$LB(<delim>,<csv-header>,<csv-footer>)] Where the constituent elements have the following values: <data-format> - The format of the Export/Reporting file:
EXAMPLES: Valid 'format' values:
This class is Super-Class, and is used as part of the EXTENDS directive for the following classes: