Check here to start a new keyword search. Search support or find a product: Search. Search results are not available at this time. Please try again later or use one of the other support options on this page.

Author:Kagabar Faerr
Country:Equatorial Guinea
Language:English (Spanish)
Published (Last):7 July 2008
PDF File Size:19.17 Mb
ePub File Size:5.55 Mb
Price:Free* [*Free Regsitration Required]

Post a Comment. Mainframe Tips, Tricks And Tutorials. Pages Home. An introduction to Easytrieve. The below tutorial gives brief overview of Easytrieve. Structure of an Easytrieve program. Contains 3 sections. Establishes parameters for the program. JOB activities read from or write to files and manipulate data.

SORT activities create sequenced files. DEBUG and its subparameters control generation of certain system outputs. These outputs are used to analyze programming errors that cause abnormal. CLIST creates a condensed listing of the executable program produced. PMAP creates a complete listing of the executable program produced by. DMAP creates a listing of the data map for each file and its. Associated fields. FLOW activates a trace of the statements being executed. STATE saves the statement number of the statement currently being.

The statement number is then printed in the associated abnormal. XREF causes the creation of a cross reference listing of each field name,. LINK prgname-1 R.

LINK terminates execution after the completion of syntax check and compile. Prgname-1 is the name of the program. Subparameter 'R' specifies that the new program replaces an existing program. For eg. FILE statement - This statement describes the files accessed by the program. Filetype: Specifies file type. Default is sequential.

If the file type is. IS Indexed Sequential Access method. VS Virtual Storage Access method. Recordformat : This specifies the record format of the file. This parameter can take the following values :. For Eg. Field names can be a max of 40 characters. It can contain. A field name should contain atleast one alphabet or special char. Examples :. Fields to be used within Report Section like page number etc.

MASK can be used for editing characters to be displayed in rpt etc. Example :. MASK ''. The hyphen indicates that the statement continues with the first position. The plus symbol indicates that the statement continues with the first. Retrieval of input files. Examination and manipulation of data. Initiation of printed reports. Production of output files. SORT statement. The file. To override the default input file NULL should be coded in place of filename. Procedures or PROCs can be coded to execute a set of statements.

MOVE statement moves a string from one variable to another. MOVE statement does not transfer the value in Numeric form ie. Relational operators are :. WHEN 1. WHEN 3. PUT : performs sequential file output. Report Definition Statements. Following statements define the content of the report and must be coded in the same order as shown below.

Default is Ascending order. A control break occurs whenever the value of any control field. SUM :. SUM statement prints the Totals of the specified fields at the end of. Normally, Easytrieve automatically totals all quantitative fields. The SUM statement overrides this process;. The fields. TITLE :. Easytrieve automatically positions the system date and current.

This can be overridden by the options on. Each title line is centered within the title area of the report unless we. When defining the field, you can specify the default heading.

LINE :. Line Stmt defines the detail lines for the report. COL specifies the column number where the next line item is placed. The POS parameter enables you to position line items on lines 2 through It permits final screening and modification of report input data. It is. The proc is executed before each line is printed. The proc is executed after each line is printed. A system-defined field named LEVEL can be tested to determine which field has caused the break, when we have control breaks based on more than 1 field.

N is the number of control fields. Will be executed at the end of each page. Can be used to print Footnotes Will be executed at the end of rpt. WHEN 0 2. Labels: Easytrieve. Newer Post Older Post Home. Powered by Blogger. Follow us.



Language English. Product Menu Topics. Getting Started. Tutorial and overview of program sections. CA Easytrieve runs interactively for data inquiry, analysis, maintenance, and reporting. The output can be returned to your terminal or routed to a printer. The articles in this section explain how to write CA Easytrieve programs.


Easytrieve Guide for Mainframe Programmers(3 of 20)

One or more words make up each ca easytrieve statement. A word can be a keyword, field name, literal, or symbol. All words begin with a non- blank character. A delimiter or the end of the statement area terminates these words. Delimiters make statements readable but are not considered continuation symbol in easytrieve manual pdf part of the attached word.


Easytrieve Guide for Mainframe Programmers (1of 20)




Related Articles