How to Write Simple Easytrieve Program

It is a powerful reporting language. It is a 4GL. The top features of Easytrieve you can find here.

Top Features

  • Perform calculations and use conditional expressions.
  • Perform simple macro invocation.
  • Read and understand diagnostic messages.

It is simple and powerful language. One line of code in Easytrieve is equal to 20 lines of code in COBOL.

You can download PPT on Easytrieve here. There are two flavours of Easytrieve available.

One is Easytrieve classic and the other one is Easytrieve plus. The super advantage of Easytrieve is you can use it in Mainframe, UNIX, LINUX, and Windows environment. The program flow chart helps you how to run easytrieve program runs. So that you can understand quickly.

Simple Easytrieve program

FILE PERSNL FB(150 1800)           } LIBRARY DEFINITION
    NAME  17 8 A 
    PERSNR 9 5 N
    ABTL  98 3 N
    SUMME 94 4 P 2
JOB INPUT PERSNL NAME SUM-PERS     } ACTIVITY DEFINITION
  PRINT PAYRPT
  REPORT PAYRPT LINESIZE 80
  TITLE 01 'PERSONALREPORT BEISPIEL1'
  LINE 01 ABTL NAME PERSNR SUMME

Related Posts

Author: Srini

Experienced software developer. Skills in Development, Coding, Testing and Debugging. Good Data analytic skills (Data Warehousing and BI). Also skills in Mainframe.