28 Mar Easytrieve has 3 sections all together 1) Environment Section (Optional) The environment definition section establishes parameters for the. and IDCAMS · COBOL Programming [book] · Computer world (Dec ) on Easytrieve · DB2 SQL Tutorial [Mainframe Gurukul] · Easytrieve Reference guide . CA- Easytrieve Extended Reporting Facility Guide v view. * CA-Easytrieve CA- Easytrieve IMS/DLI Interface Option Guide view. * CA- Easytrieve SQL.

Author: Goshicage Kele
Country: Chad
Language: English (Spanish)
Genre: Medical
Published (Last): 27 October 2006
Pages: 474
PDF File Size: 19.83 Mb
ePub File Size: 11.19 Mb
ISBN: 918-4-16852-519-3
Downloads: 13491
Price: Free* [*Free Regsitration Required]
Uploader: Vudobar

Default report heading for a field is the field name. Fields to be used within Report Section like page number etc. STATE saves the statement number of the statement currently being.

Field names can be a max of 40 characters. It could be a file definition that you eaasytrieve to use in more than one program without typing it more than once, or it could be a piece of program logic or a report declaration that you use often in different programs. The environment definition section establishes parameters for the program. The statement number is then printed in the associated abnormal. DMAP creates a listing of mainframf data map for each file and its.

The SUM statement overrides this process. Notify me of new comments via email. Procedures or PROCs can be coded to execute a set of easytrivee. Can be used to print Footnotes FILE statement mainrfame This statement describes the files accessed by the program.


Scanning and Updating Datasets File-Aid: Structure of an Easytrieve program. Initiation of printed reports. Examination and manipulation of data. The POS parameter enables you to position line items on lines 2 through Editing a dataset File-Aid: And if we have any input files to be used for processing, then we must mention those files here.

MASK can be used for editing characters to be displayed in rpt etc.

CA-Easytrieve/Plus – Basics | F1 for Mainframe

The library definition section describes the data the program is to process. Files with records in alphabetical or numerical order. A control break occurs whenever the value of any control field. In here, easygrieve that are going to be used in the program should be declared by using keyword FILE. In above statement, just mentioning JOB is mandatory. Retrieval of input files. CLIST creates a condensed listing of the executable program produced.

Provided below is a sample program. Default is Ascending order.

CA-Easytrieve/Plus – Basics

Easytrievr terminates execution after the completion of syntax check and compile. The plus symbol indicates that the statement continues with the first. The main goal of a macro is to save you from duplicating your effort.

N is the number of control fields. Each title line is centered within the title area of the report unless we. An introduction to Easytrieve. A linesize of 80 restricts report output to 80 characters per printed line.


The proc is executed after each line is printed. This can be overridden by the options on. You can omit the title number when you have only one title; it simply defaults to It is not necessary to declare all the fields in your input file.

We can just declare the fields we require and in the order we require. Tutoriao proc is executed before manframe line is printed.

The system date and the page number automatically print on the same line. The SUM statement specifies the quantitative fields you want totaled on a control break. Mainframe Tips, Tricks And Tutorials. Normally, Easytrieve automatically totals all quantitative fields.

Subparameter ‘R’ specifies that the new program replaces an existing program.

It describes data files and their associated fields and any working storage requirements of the program. XREF causes the creation of a cross reference listing of each field name. When used, any fields not specified on the SUM statement are not totaled.

Maintrame defining the field, you can specify the default heading.