Nicage If your instructions only ask for data for June you need to indicate it in your program. You need to correct your mistakes and run the Easytrieve program again until you get the results you are seeking. The below tutorial gives brief overview of Easytrieve. To override the default input file NULL should be coded in place of filename. Working with an out file is much easier and not time sensitive. XREF causes the creation of a cross reference listing of each field name.
|Published (Last):||5 March 2008|
|PDF File Size:||5.59 Mb|
|ePub File Size:||11.25 Mb|
|Price:||Free* [*Free Regsitration Required]|
The environment and library definition sections are optional, but at least one activity section is required. This section lets you override standard CA Easytrieve options and select a mode of operation. The environment section is not required for most of the examples in this section. Library Definition Section The library definition section describes the data the program processes, data files and their associated fields, and any working storage requirements of the program.
The library definition section is usually required; it is optional when the program does not perform any file input or output. JOB Reads information from files, examine and manipulate data, write information to files, and initiate printed reports. Creates sequenced or ordered files.
Data can be displayed to a terminal operator and received back into the program. Files can be read and updated. You can code one or more procedures PROCs at the end of each activity. Procedures are separate modules of program code that you use to perform specific tasks.
The following table shows some CA Easytrieve keywords and other items in the sections where they are usually located. The table gives the general order of CA Easytrieve statements in a program.
Structure of Easytrieve programs
Easytrieve Guide for Mainframe Programmers (2 of 20)