Start scenario
Program source
Input seed file
Year 2000 Analysis
Formatted report
Analysis format
Seed format
Cross compilation
Overview
|
|
Year 2000 Analysis cross compilation
|
Although cross compilation Analysis is not part of this basic scenario, we will take the opportunity to outline that process as well.
Cross compilation Analysis is used to analyze multiple, related program units together. The information gathered
is saved in a DB/2 database and is used across the analysis of all input ADT files.
The input to Year 2000 Analysis cross compilation will be a set of related ADATA files(*.ADT) and their input seed
files(*.XSD). Your initial seed files can be modeled on the sample seed file(sample.xsd) shipped with the product.
You first build a flat text file(*.XIN) with each line of the file containing the
name of one ADATA file(*.ADT) and its associated seed file(*.XSD).
For example:
|
eg0.adt eg0.xsd
eg00.adt eg00.xsd
eg01.adt eg01.xsd
eg02.adt eg02.xsd
eg03.adt eg03.xsd
eg04.adt eg04.xsd
eg05.adt eg05.xsd
|
Optionally, a single seed file(*.XSD) can be specified via the command line as the default for all input ADATA files(*.ADT)
which do not have a specific seed file.
If no seed file is specified, the filename of the seed file is assumed to be the same as
the filename of the ADATA file.
To begin cross compilation Analysis, the following command is entered on the command line:
y2kxcomp /feg0.xin
Analysis output will be produced in flat text files(*.XRL) and browsable HTML files(*.HTM).
Formatted report files may also be produced(*.RPT).
NOTE1: The formatted reports for COBOL use different filetypes. Instead of a filetype of .RPT, COBOL produces two files with filetypes of .XRF and .XRT
NOTE2: to view all possible input parameters, enter the following command on the command line:
y2kxcomp /?
A windowed user interface is also available. Enter the following command to use it instead:
y2kybat.exe
|
   
|
|