4
Introduction to Easytrieve Easytrieve plus is an information retrieval and data management system. It is more English like language. Has simple declarative statements. Provides tools to produce reports with ease. When coming to report generation, Easytrieve is one of the best language available. Apart from report generation it can also perform all the functions that a qualified language is supposed to. Purpose The purpose of this document is to show how files can be merged in Easytrieve based on criteria or no criteria. Though It can be done in COBOL language, Easytrieve provides an advantage of not having to compile the program to run which a COBOL program obviously needs. So, we will look into two cases, File merging with conditions and File merging without conditions File Merging File merging is nothing but appending or combining records from multiple inputs into a single file based on either a few conditions or no conditions How to do File Merging in

Merge Files in Easytrive

  • Upload
    mukesh

  • View
    62

  • Download
    1

Embed Size (px)

Citation preview

Introduction to Easytrieve

Easytrieve plus is an information retrieval and data management system.

It is more English like language.

Has simple declarative statements.

Provides tools to produce reports with ease.

When coming to report generation, Easytrieve is one of the best language available. Apart from report generation it can also perform all the functions that a qualified language is supposed to.

Purpose

The purpose of this document is to show how files can be merged in Easytrieve based on criteria or no criteria. Though It can be done in COBOL language, Easytrieve provides an advantage of not having to compile the program to run which a COBOL program obviously needs.

So, we will look into two cases,

File merging with conditions and

File merging without conditions

File Merging

File merging is nothing but appending or combining records from multiple inputs into a single file based on either a few conditions or no conditions

How to do File Merging in Easytrieve V.1.0

File Merging without any conditions

Here, we will try combining two files into a single file. Though the code given below is to combine two similar files, the same code can be repeated in order to use it for multiple files as many as we wanted.

Easytrieve Coding

File Merging with conditions or criteria

Here, we will try combining two files into a single file based on a few conditions. Though the code given below is to combine two similar files, the same code can be repeated in order to use it for multiple files as many as we wanted.

Easytrieve Coding

Replication

Anybody can use this code if their project has the Easytrieve access.

They will have to change only the file names in JCL and the merging conditions.