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.
|Published (Last):||24 April 2004|
|PDF File Size:||4.95 Mb|
|ePub File Size:||17.94 Mb|
|Price:||Free* [*Free Regsitration Required]|
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. The Programming Lessons section is a tutorial for persons who are familiar with data processing concepts.
Skills for other programming languages are not required. The tutorial does not describe all product features, and some of the described features may not be available in all implementations of the product. Because CA Easytrieve is a compiled language that runs in many data processing environments, the examples in this section are generic and do not address variations between different installations. Program Examples. Most program examples in this section use the sample input file PERSNL that is included when the product is installed.
Report output in some examples has been edited or shortened for illustrative purposes. Suggested Reading. To get familiar with the product, we suggest that you read the sections listed under Level One, Level Two, and Level Three.
Each level introduces more advanced concepts. Level One. Write a complete CA Easytrieve program, using automatic input and output features. Be familiar with the system-defined fields that are provided with CA Easytrieve. To begin learning about CA Easytrieve, we suggest that you read the following articles and sections:.
Programming Lessons — Lessons 1 through 4. Level Two. Write slightly more complex CA Easytrieve reports, using programmer-controlled input and output commands. Perform data assignments and moves and use loops and branching in program logic. After you read the level 1 articles, we suggest that you read the following articles and sections:. Level Three. Perform programmer-controlled input and output of randomly accessed files, including VSAM.
After you read the level 2 articles, we suggest that you read the following articles and sections:. Program Structure. Each CA Easytrieve program can contain an environment section, a library definition section, and one or more activity sections. The environment and library definition sections are optional, but at least one activity section is required. Environment Section. The environment section establishes parameters for the program. 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. Activity Section. The activity section is the only mandatory section of a CA Easytrieve program.
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. See Activity Section - Processing and Logic for more information about procedures.
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.
Sample Program. A simple CA Easytrieve program example follows. This program produces a standard report that is used in the next section as a starting point for the tutorial.
You can generate reports faster with CA Easytrieve than with other programming languages or report generators. The programming lessons show how to start creating CA Easytrieve programs. Programming Lessons.
Easytrieve Guide for Mainframe Programmers (1of 20)
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.
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. Ca easytrieve word delimiters are:. Eztrieve — free download as powerpoint presentation.
Easytrieve Guide for Mainframe Programmers(3 of 20)