File Aid
File Aid
Submitted by
Ramaswamy Uppala
September 2004
Table of Contents
1. Introduction..................................................................................................................3
1.1 About File-AID....................................................................................................3
1.2 System Environment............................................................................................3
2. Basic Functions............................................................................................................4
2.1. Browse.................................................................................................................4
2.2. Edit.......................................................................................................................5
2.3. Utilities................................................................................................................8
2.4. View...................................................................................................................13
3. Appendix....................................................................................................................14
3.1. Acronym............................................................................................................14
1. Introduction
1.1 About File-AID
File-AID is an interactive, full-screen system for editing, browsing, defining, copying, reformatting,
comparing, and printing VSAM, IAM, ISAM, PDS, BDAM, and sequential files under TSO/ISPF.
File-AID/Batch is a data manipulation program that consolidates the functions of most standard
IBM utilities – such as:
Use File-AID/Batch to run jobs requiring selection instead of specialized selection programs.
After execution, File-AID can print a report that shows the number of records read and written,
and the number of records processed by the various functions within File-AID.
File-AID/SPF and File-AID/XE operate in the IBM Time Sharing Option (TSO) environment under
Version 3 Release 5 or above of the Interactive System Productivity Facility/Program
Development Facility (ISPF/PDF).
Compuware recommends running File-AID in a minimum region size of 4 MB. If File-AID is
installed in the LPA, it requires a minimum region size of approximately 2 MB.
File-AID/Batch requires an IBM MVS/SP, MVS/XA, or MVS/ESA operating system. Running File-
AID under ROSCOE requires the installation of Release 5.4 or above of the ROSCOE product
with the ETSO option.
The main options panel to navigate in to the functions and explore the system
2.1. Browse
File-AID lets you display record data stored in most DASD datasets without restrictions on file
type, file size, or record size.
Three data display modes are provided to make it easy for you to work with your data:
Formatted & Vertical Display modes require that you supply source record layouts by completing
information in the Specify Record Layout and XREF Information section of the Dataset
Specification entry screen.
Standard File-AID selection criteria lets you efficiently process data as you need only look at
those records you want to see.
The File-AID full screen character displays are specifically designed to resemble ISPF/PDF
Browse. Therefore, there are no line commands.
The COLS primary command is used to display a data ruler line at the top of the screen in
CHARACTER mode.
Primary commands are used to switch display modes (CHAR, VFMT and FMT) or display format
(HEX ON/OFF). Use the END command to exit from browse.
Browse is very much like Edit except that you cannot make any changes to the data. Thus there
is no OLD disposition option (datasets are always allocated SHR), nor is there an audit trail
feature.
2.2. Edit
The Dataset Specification panels for File-AID Browse and Edit are nearly identical. Edit provides
additional prompts for Disposition (OLD or SHR) and Create audit trail (to support the generation
of a report of changes made with File-AID). The Dataset Specification screen is composed of
several areas.
Four styles of data display are available when viewing your data file records:
C CHARACTER - Full screen ISPF-like display of records, one record per line. Overtype
data to make changes. Use HEX command to view hex values. Use FMT command to
switch to formatted mode, VFMT to switch to vertical formatted mode, UNFMT command to
switch to unformatted mode. Use line and primary commands to work with data.
V VERTICAL - Requires a single record layout only. Like character, a full screen display of
data, one record per line, but data is normalized and arranged in columns underneath field
name headings described by the record layout provided. Use CHAR to switch to character
mode, FMT to switch to formatted mode, UNFMT to switch to unformatted mode. Use HEX
command to view hex values.
F FORMATTED - Requires a single record layout or XREF. Display of one record with each
record layout field on one line alongside of the record data for that field. Scroll DOWN to
see additional layout fields. Scroll RIGHT and LEFT to see other data records. Use CHAR
to switch to character mode, VFMT to switch to vertical mode, UNFMT to switch to
unformatted mode. Use primary commands only to work with data. Special commands are
provided for formatting "segmented" records by using different layouts for each section of
each record.
The Specify Browse/Edit Information section of the screen is where you identify the dataset,
or HFS file, you want to access. The last dataset you referenced with any File-AID function
appears as a default. If the dataset is partitioned you may specify a member name. If the
dataset is partitioned and you don't specify a member, PDS Processing Options (PPO) are
activated to let you generate a member list based on member names, ISPF statistics, and
(optionally) selection criteria. If the dataset is not cataloged, enter the Volume serial number.
The Specify Record Layout and XREF Information section of the screen is where you indicate
your usage of record layouts and supply source library dataset and member names and an
optional XREF member.
"RECORD LAYOUT USAGE" indicates whether a single record layout (usage "S"), an XREF
(usage "X"), or no layout (usage "N") is to be used to format record data.
If you intend to use the Formatted (or Vertical) display modes, you must specify RECORD
LAYOUT USAGE of "S" or "X". You must also supply a RECORD LAYOUT DATASET and
either a layout member (Usage=S) or an XREF DATASET and MEMBER (Usage=X, built
with function 7 XREF).
In the lower section of the screen, you indicate selection criteria usage:
E - Existing. Process selected records based on the specified selection criteria dataset
member. Use option 6, Selection, to create criteria.
T- Temporary. Dynamically access the selection criteria utility screens to define conditions for
record selection. Temporary criteria may be saved by issuing the SAVE command from the
criteria menu.
M - Modify. Dynamically access the selection criteria utility screens to review or change a
specified selection criteria dataset member.
Q -Quick. Dynamically access the selection criteria utility unformatted field criteria screen to
define temporary conditions for record selection. END command processes your selection
immediately. Records not selected are indicated in the Character and Vertical display
modes by an information line. You may set a default "Display records not selected" in your
0.1 System Parameters to suppress the display of the "not selected" information lines.
If you use existing (E) criteria, processing is immediate. Otherwise, you will be taken
through the appropriate Selection utility screens to create temporary (T), create quick
unformatted (Q), or modify (M) your selection criteria before applying it.
A valid selection criteria dataset and member are required for usage codes E (Existing) and
M (Modify). If member name is left blank a member list is presented. Selection dataset is
ignored for options N (None), T (Temporary), and Q (Quick).
Note: In existing (E) selection criteria, the DCB and LRECL of selection data set must be VB
& 300.
When the dataset to be processed is partitioned (PDS), File-AID provides special processing
options and capabilities to give you better control over the list of members to be accessed.
Members can be listed by name mask, name range, last modified user ID range, last changed
date range, and create date range.
If selection criteria is specified, only members matching both the PDS processing ranges and the
selection criteria are listed. When you Select (S) a member from the member list your Copy/Edit
Entire member default is examined to determine which records of the PDS member are
displayed. Either all records in the member (Edit Entire
Member=YES), or only the records matching your selection criteria (Edit Entire Member=NO) are
presented.
If a member name of * (asterisk) is specified, (Ex. DSN=FROM.PDS (*)) the PDS processing
options screen is not shown and all members are considered for processing.
2.3. Utilities
File-AID extended utilities gives powerful dataset management capabilities like defining, copying,
browsing, and on-line updating for all types of datasets. Also provides enhanced library
maintenance facilities, enhanced catalog processing, a VTOC utility for finding files and DASD
management, and interactive access to the capabilities of File-AID/Batch.
Dataset
Copy
Vsam
Search/update
Extended Utilities:
2 - Dataset
Allocate any non-VSAM dataset or GDG, display information, catalog, uncatalog, rename,
delete datasets, free space
This is similar to the allocation process done using the ISPF Primary Options Menu.
During allocation process, enter a model dataset name if the new dataset is to have the same
allocation characteristics as an existing dataset. The model dataset must be cataloged and
must be accessible through a normal catalog search. If no model is specified, attributes from
the last data set information display or allocation are used.
It will then show the "Allocate New Sequential/Partitioned Dataset" panel, on which some of
the input fields will have been filled in by File-AID. Like regular ISPF, File-AID/SPF
remembers these values from your most recent use of either:
o dataset allocation, or
o dataset information display, or
o model dataset specification.
Note: DIRECTORY BLOCKS for a Partitioned data set field specifies the number of 256-byte
directory blocks to be provided from the primary quantity.
The File-AID Copy utility allows copying selectively or non-selectively any type of dataset
including HFS file with any record format to any other dataset including HFS file with any
record format.
. . . . . . . . . . . . . . . . . . . . . . . . . . .
The File-AID Copy utility lets you selectively copy data from one file to another. The simple
entry screen lets you specify the FROM file and the TO file on one screen.
During the copy, you can apply selection criteria by specifying a standard File-AID selection
criteria dataset and member or by dynamically creating temporary selection criteria.
Member selection capabilities and processing options are provided when processing PDS
datasets to copy members from one dataset to another.
You can set the Process Online or Batch option to perform your copy in the foreground or to
generate and submit JCL for background batch processing.
Generating JCL lets you repeat your copy again and again if needed - just save and resubmit
your JCL.
5 - Vsam
The 3.5 VSAM utility allows allocating, deleting, renaming, reallocating, attribute modifying
and displaying of : VSAM clusters, alternate indexes & paths and also IAM files. In addition,
new alternate indexes can be built and VSAM data spaces may be allocated and deleted
(non-ICF catalogs only).
File-AID uses its own catalog and allocation routines for most of the VSAM utility functions,
and supports all catalog structures.
An option is provided (Process Online or Batch) to let you perform your request online or in
batch. If batch processing is chosen, File-AID generates JCL for execution of the IDCAMS
utility including all control statements needed to complete your request.
File-AID automatically recognizes Innovation Access Method (IAM) datasets by the presence
of $IAM as a node of the dataset name or as the owner ID. Special information displays are
presented for IAM files.
When allocating VSAM datasets for use in testing where performance is not critical, the
standard allocation options may be selected and the remaining options allowed to default to
the system defaults. When allocating production datasets, or where performance is an
important consideration, the Extended allocate screen provides access to many additional
attributes for VSAM cluster definition.
1) Place the desired action code on the OPTION line (or leave blank to display dataset
information for any dataset).
2) Fill in or verify the Dataset Name according to standard File-AID rules for entering
datasets.
3) Set the Process Online or Batch switch (O=Online, B=Batch).
4) If allocating a new cluster, use the optional Model Dataset name.
5) Press Enter.
6) Additional screens are then presented to display information or capture your processing
choices.
7) Press Enter to perform your action. If process Online is selected, processing occurs
immediately. If process in Batch is selected, a screen appears to assist you with JCL
handling.
8) The END command returns you to the utility entry screen without performing any further
action.
The File-AID Search/Update utility enables to view records in any dataset type containing any
record format. This will also apply direct global updates to those datasets. Option M will, for
PDS, Panvalet, and Librarian datasets, build a partial member list consisting of those
members matching your selection criteria. From that list, you can perform FINDs and
CHANGEs (PDS only) across all members or you may select individual members to browse
or edit. Option B lets you view all or selected records from your dataset. Option U lets you
specify and apply global changes to any dataset, and to preview those changes before they
are applied. When accessing a PDS, you may search or update all or selected members in
one step, including logical JCL processing.
The File-AID Search/Update utility lets you selectively view (and change) records (or
members) in any dataset.
Standard File-AID selection criteria usage is provided except for the global update option "U".
For option "U", you are prompted to define temporary selection/change criteria similar to the
standard File-AID record selection options and unformatted field selection criteria.
When processing PDS datasets, powerful member selection capabilities and processing
options are provided. You can set the Process Online or Batch option to perform your search
or update in the foreground or to generate and submit JCL for background batch processing.
Generating JCL lets you repeat your request again and again if needed - just save and
resubmit your JCL.
The File-AID Search/Update Utility options allow access to any type of dataset. The options
which may be entered are:
M Requests that member selection panels be displayed to allow for selective member list
building based on member name, ISPF statistics, and/or record content. Standard
selection criteria options are provided and when processed, a selective member list is
displayed. Members from that list may globally processed with FIND and CHANGE
commands or may be individually browsed or edited. Option M supports PDS, Panvalet
and Librarian datasets.
B Requests that standard File-AID selection criteria be applied to any dataset. If the dataset
is a PDS, a member selection panel is also presented to let you control processing. This
option allows you to view only the records you select from a dataset. The selected
records are copied to a work file which is then displayed using ISPF browse. File-AID
inserts informational lines into the work file to identify the dataset, the member, and the
individual records (Include record information = Yes). Found records may be printed.
U Requests screens to be displayed to allow for defining your changes. The selection of
records to be changed is then based on your record selection options and change
criteria.
A preview of your changes will be presented in a temporary file – the original dataset is not
actually updated yet. When you are satisfied with your change specification, you can confirm
and apply your changes. You may optionally print your changes with or without updating the
file. If you perform the update, you may request an audit trail report showing the before and
after image of each changed record.
When you specify a PDS library without a specific member name, File-AID can update all or a
selected subset of the members of the
When you specify option U (Update), change criteria screens are automatically presented.
For other than PDS, Panvalet, and Librarian datasets (i.e. VSAM, ISAM, BDAM, sequential)
the Selection Criteria Options screen appears first to capture your record selection
processing controls. Then, when you finish with the Options screen, the Search/Update
Change Criteria screen is always displayed.
2.4. View
The purpose of this function is to view record layouts as File-AID has interpreted them.
specifying the dataset name and member, if any, of the record layout to be viewed
viewing the layout
On the DATASET SPECIFICATION screen enter the dataset name and member, if any, of the
record layout to view. also enter the END, RETURN, or a jump command to leave
After the DATASET SPECIFICATION screen, the VIEW RECORD LAYOUT screen is displayed.
This screen displays the field number, level, data-name, picture, starting and ending positions,
and length for each item in the record layout.
The LEVEL NUMBER and DATA-NAME are presented in a format similar to edit formatted. The
PICTURE column shows the format of the field while the NUMBER column indicates the system
assigned field number. The starting and ending position and length are shown for both
elementary and group items.
View Panel:
File-AID --- View Record Layout - Dataset Specification -----------------------
COMMAND ===>