---
title: "How to Write Simple Easytrieve Program"
description: "The first step Easytrieve is a reporting Language. The benefits and types of flavours available in the market explained here. A sample program is given to undestand about this language."
url: https://srinimf.com/2011/08/07/easytrieve-os390-for-mainframe/
date: 2011-08-07
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2011/08/pexels-photo-7428223.jpeg?fit=1880%2C1253&ssl=1
categories: ["Easytrive"]
tags: ["Easytrieve tips and tricks", "Easytrive tutorial pdf"]
type: post
lang: en
---

# How to Write Simple Easytrieve Program

It is a [powerful reporting language](https://srinimf.com/2011/11/23/easytrive-sample-program/). 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](https://medium.com/srinimf-easytrieve-free-guide) 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](https://srinimf.com/2011/11/07/easytrieve-prog-flow/) helps you [how to](https://srinimf.com/2018/11/13/ideas-you-need-to-write-simple-function-in-r-language/) 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

- [Easytrieve: Here’s a Sample Program](https://srinimf.com/2011/11/23/easytrive-sample-program/)DateNovember 23, 2011
- [Easytrieve Program Flowchart to Write Awesome Reports](https://srinimf.com/2011/11/07/easytrieve-prog-flow/)DateNovember 7, 2011
- [Easytrieve Key statements (3 of 3)](https://srinimf.com/2011/11/28/easytrieve_runjcl/)DateNovember 28, 2011

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2011%2F08%2F07%2Feasytrieve-os390-for-mainframe%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2011%2F08%2Fpexels-photo-7428223.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=How%20to%20Write%20Simple%20Easytrieve%20Program)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2011/08/07/easytrieve-os390-for-mainframe/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2011/08/07/easytrieve-os390-for-mainframe/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2011/08/07/easytrieve-os390-for-mainframe/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2011/08/07/easytrieve-os390-for-mainframe/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20How%20to%20Write%20Simple%20Easytrieve%20Program&body=https%3A%2F%2Fsrinimf.com%2F2011%2F08%2F07%2Feasytrieve-os390-for-mainframe%2F&share=email)
-

### Like this:

Like Loading…
