Professional Documents
Culture Documents
FILE-AID - A Quick Reference For Beginners
FILE-AID - A Quick Reference For Beginners
INTRODUCTION
• File Aid provides on-line editing of BDAM, ISAM, and VSAM files using
formatted, full-screen displays
• File Aid eliminates file size restriction by using selection criteria to limit the
number of records to be edited.
• File Aid superimposes COBOL record layout over raw data and brings
meaning to that data
• File Aid has powerful, easy to use, copying and reformatting capabilities
which exist in both batch & on-line modes.
File Aid can be invoked by typing “FA” from START screen. This can also be
invoked by typing “TSO FASTART” from any ISPF screen. When we exit from File
Aid, the suspended screen is restored.
Upon typing “FA” or “TSO FASTART” you will arrive at the following primary option
menu. (Command for invoking FILEAID might be different for different
projects.)
As you see in the above screen, we have 0-C options in File Aid. But we are very
much interested in the following options, i.e., Option 1, 2, 3, 7, 8, and 10 as
these are the widely used ones. So only these options will be dealt in detail.
Option 0:
This option consists of the ISPF-provided parameter option screens and several
screens to specify File-AID default parameters.
Option 1:
This option is used to display but not change the contents of files using any of
four display modes - character, formatted, vertical formatted, and unformatted.
You can browse between different browse modes by typing “CHAR”, “FMT”,
“VFMT”, and “UNFMT” on the command line as shown in the following figure.
Option 2:
This option is used to create, display and change the contents of files using any of
four display modes - character, formatted, vertical formatted, and unformatted.
You can go to edit screen by typing 2 in the File Aid menu screen. Edit screen
looks like this.
3.5 VSAM: This is used to display, allocate & delete VSAM Cluster. It is also used
to allocate and build alternate index.
Option 5:
This option is used to print data file contents, the selection criteria and Record
Layout XREFs created in options 6 and 7 of File-AID, formatted record layouts,
and audit trail datasets created while editing a data file in option 2 (Edit) or 3.6
(Update) of File-AID.
Option 6:
This option is used to create and maintain selection criteria for use in the Browse,
Edit, Copy, Print, and Compare functions. The screen is shown below.
Option 7:
This creates and maintains existing File-AID Record Layout Cross References. This
is used to view complex data files which use more than one record layout in
them. This information acts as a cross reference between the data file records
and the corresponding layout for that record.
Option 8:
This option gives you a tool to copy all or selected records of any input file to an
output file. While copying, you can reformat the records in the dataset. Record
reformatting is based on matching the fields in two record layouts (source and
target). Use this function when you need to add, change, or delete fields from
the record(s) in any file, or to create a new file containing only a few fields.
Option 10:
This option allows us to compare two data files and report the differences
between them. Entering 10 at the command prompt will take us to the following
screen wherein the old dataset specification has to be specified.
Pressing enter will take us to “New Dataset Specification screen”. Specify the new
dataset which has to be compared with the old dataset.
Pressing enter will take us to “Execution Options screen” wherein execution
option (Online/Batch) has to be specified. On pressing enter will take us to the
following screen where we need to specify the compare type as any one of the
following.