These options are global, i.e. they are valid for ALL applications managed in Console.
The Mainframe libraries (PDS dump) option provides the means to configure Console to recognise Mainframe source code (Cobol, JCL etc.) that provided as a PDS (Partitioned Data Set) dump. A PDS is a type of "library" containing elements known as "members" exported from a z/OS system (eg. Cobol programs, copybooks, JCL etc.) Each member in the PDS is preceded by a banner containing the member's name (among other information) and is concatenated with other elements in text format.
Console only supports one type of member and one banner prefix per PDS dump file. If there are several types of members and if several banner prefixes are used for the same type of members, they must be delivered through multiple PDS dump files. Each PDS dump file that is recognised by Console will be extracted: one file (that the CAST Mainframe Analyzer can analyze) will be created per element in the PDS dump file and these files are then analyzed when an analysis is run.
Out of the box, Console will have one PDS library extension predefined. This will ensure that Console is able to recognise PDS dump files provided in the source code configured as follows:
You can leave this predefined PDS type as is, or you can delete/edit as necessary.
Use this option to create a new PDS library entry (i.e. so that Console is able to recognise it). The following dialog box will be displayed allowing you to configure the entry:
Fill in the fields as required. A description of each field is listed below.
The file extension of the PDS dump file, for example COPYX. Composite extensions are also supported, for example those containing dots such as XXX.YYY.
|Library content||This option enables you to choose the content of the PDS dump file that will be extracted - i.e selecting Cobol Program will extract only files that are Cobol Programs. Filters are based on file extensions and are those that are accepted by the Mainframe Analyzer.|
|Banner prefix||Indicates the left hand part of the banner in the PDS dump excluding the member name. This determines the start of each member - this is used by Console to identify each member.|
|Left margin||Indicates the line column(s) in which system characters are present. This column (or columns) are ignored during the extraction and are not transferred to file.|
|Line maxLength||For each member line that will be extracted, this value indicates the line max length that will be retained during the extraction to file. Any characters that are located in the line beyond the line max length will be ignored during the extraction and packaging process and are not transferred to file.|
|Click to edit the selected entry.|
|Click to delete the selected template.|