Start scenario
Program source
Input seed file
Year 2000 Analysis
Formatted report
Analysis format
Seed format
Cross compilation
Overview
|
|
Scenario PL/I program source - EG0.PLI
|
This scenario is not intended as a comprehensive example of Year 2000 Analysis. Its primary purpose
is to outline the process of getting started. Some basic concepts along with the syntax of
input files and output results will also be exposed.
We will use this very simple PL/I source example to demonstrate the process of Year 2000 Analysis
and show the output that results, (the process for COBOL is the same).
|
eg0 : Procedure options ( ) ;
dcl (a,b) char(6);
a = date();
b = a;
End eg0 ;
|
Analysis will report on variables a and b.
The process begins with the SYSADATA file(EG0.ADT) produced by compiling the program(EG0.PLI) with the appropriate compiler option.
The input to Year 2000 Analysis will be the ADATA file(EG0.ADT) and the input seed
file(EG0.XSD). Your initial seed file can be modeled on the sample seed file(sample.xsd) shipped with the product.
To begin Analysis, the following command is entered on the command line:
y2krepor eg0
Analysis output will be produced in both flat text file(EG0.XRL) and browsable HTML file(EG0.HTM)
formats. A formatted report file may also be produced(EG0.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:
y2krepor /?
A windowed user interface is also available. Enter the following command to use it instead:
y2kybat.exe
|
   
|
|