An introduction to Easytrieve. The below tutorial gives brief overview of Easytrieve. Structure of an Easytrieve program. Contains 3 sections. iv CA-Easytrieve/Plus User Guide. Chapter 3: Standard Reporting with CA- Easytrieve/Plus. Reports Made Easy-A Tutorial. Easytrieve. Variables. Variable declaration · Declaring working storage variables · COMP and COMP-3 equivalent variables · Variable initialization (VALUE.

Author: Daigrel Domuro
Country: Central African Republic
Language: English (Spanish)
Genre: Travel
Published (Last): 15 January 2011
Pages: 210
PDF File Size: 12.76 Mb
ePub File Size: 9.75 Mb
ISBN: 209-3-34976-853-7
Downloads: 58291
Price: Free* [*Free Regsitration Required]
Uploader: Arasar

Newer Post Older Post Home. DEBUG and its subparameters control generation of certain system outputs. Normally, Easytrieve automatically totals all quantitative fields. JOB activities read from or write to files and manipulate data.

EASYTRIEVE – Sample Program – Display Totals and Summary | F1 for Mainframe

COL specifies the column number where the next line item is placed. However, when you are working with databases that are public they are usually time sensitive so you need to get in and out as quickly as possible.

This will be the place where you send your results. A control break occurs whenever the value of any control field.

Will be executed at the end of rpt. The hyphen indicates that the statement continues with the first position. If there are any mistakes you will need to fix them. This specifies the record format of the file.


How to Write a Simple Easytrieve Program

Production of output files. Field names can be a max of 40 characters. To override the default input file NULL should be coded in place of filename. Create an outfile in your program. You need to know where each of the variables resides in order to know where they are when you are working with the database or outfile that you created. It permits final screening and modification of report input data.

If the file type is.

Add any variables that do not exist. Easytrieve needs to know where you need to go in order to get there. Can be used to print Footnotes IS Indexed Sequential Access method. Prgname-1 is the name of the program.

PRINT statement requests report output. About the Author This article was written by a professional writer, copy edited and fact checked through a multi-point auditing system, in efforts to ensure our readers only receive the best information. Make sure you designate the database that you want to capture the data from.

Usually this file will be saved to your own pc and therefore you will have unlimited access to it and not have to worry about any time sensitivity the database has. Make sure you understand the scope of the job. Whatever the limitations are you want to add them in your program before you go any farther.


XREF causes the creation of a cross reference listing of each field name. This can be overridden by the options on. The proc is executed before each line is printed.

How Do I Use Evaluate? Select the variables you need using your outfield.

The simplest way to extract data is not to limit what you draw, but cut it down later. Easytrieve easytdieve you create new variables by using working storage variables in your program.


MOVE statement does not transfer the value in Numeric form ie. Mainframe Tips, Tricks And Tutorials.

Establishes parameters for the program. A field name should contain atleast one alphabet or special char. See tips to find out why. Give them to the appropriate person.