Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using CAST AIP Console

Info

See Application onboarding for more information.

Source code delivery

...

Code Block
D:\temp
	|-----Mainframe
	|-----OtherTechno1
	|-----OtherTechno2

Handling PDS dump files

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. Since AIP Console 1.19, it is possible to deliver source code via a PDS dump. As with the legacy CAST Delivery Manager, AIP Console only supports one type of member and one banner prefix per PDS dump file. If there are several types of members they must be delivered through multiple dump files and if several banner prefixes are used for the same type of members, then the source code delivery must also be done through multiple dump files.

If you want to deliver PDS dump files (containing the Mainframe source code) in the ZIP or the source code folder location, you will need to configure AIP Console to recognise them. This can be done using the Administration Center - Settings - Mainframe libraries - PDS Dump option available in Administration Center - Global Configurations:

Image Added

Excerpt Include
AIPCONSOLE:Administration Center - Settings - Mainframe libraries - PDS Dump
AIPCONSOLE:Administration Center - Settings - Mainframe libraries - PDS Dump
nopaneltrue

Each PDS dump file that is recognised by AIP 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.

Using legacy CAST Delivery Manager Tool

...

Package

Package name/type

Mandatory?

Location/path

Notes

1

Source code

(tick)

PDS dump location

Use the "Mainframe" option in the CAST Delivery Manager Tool:

Click to enlarge

The Mainframe PDS dump option is designed for target Mainframe source code (Cobol, JCL etc.) that is the result of 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. The CAST Delivery Manager Tool package for PDS dumps only supports one type of members and one banner prefix per file. If there are several types of members they must be delivered through multiple dump files and if several banner prefixes are used for the same type of members, then the source code delivery must be done through multiple dump files.

The CAST Delivery Manager Tool enables you to specify one or more PDS dumps - each dump that is specified will be extracted: one file (that the CAST Mainframe Analyzer can exploit via the CAST Management Studio) will be created per element in the PDS dump file and packaged ready for analysis.

Info
The PDS dump file does not need to be available during the analysis process in the CAST Management Studio because the CAST Delivery Manager Tool will extract the source code and package it before deployment to a specific location (defined in the CAST Management Studio).

When configuring the package, use the Add button to add the PDS dump file.

A dialog box will enable you to configure the settings for the PDS dump file:

Click to enlarge

Image RemovedImage Added

Library file path (PDS dump)

Allows you to select the absolute location of your PDS dump file. Use the browse button to select the PDS dump file on disk.
Library contentThis option enables you to choose the content of the PDS dump file that will be extracted and packaged - 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 prefixIndicates 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 the CAST Delivery Manager Tool to identify each member.
Left marginIndicates the line column(s) in which system characters are present. This column (or columns) are ignored during the extraction and packaging process and are not transferred to file.
Line max sizeFor each member line that will be extracted, this value indicates the line max size that will be retained during the extraction to file. Any characters that are located in the line beyond the line max size will be ignored during the extraction and packaging process and are not transferred to file.


...