Professional Documents
Culture Documents
V.1.0
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.
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
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.