Professional Documents
Culture Documents
File Aid
File Aid
record maintenance Used to browse, edit, allocate, compare, copy, delete, and print files of any standard MVS access method browse, edit, and copy an individual member or the entire dataset Used to browse, edit, and copy an individual member or the entire partitioned dataset Has the scope and flexibility to let users customize their data to match their needs, while providing exceptional dependability to handle potentially costly problems with production data Values Quick and easy access to data Processes all standard OS/390 and z/OS access methods and file formats Selective record processing
Enhance the productivity of application developers by simplifying test data creation and assisting in routine functions Save valuable testing time and ensure that all test conditions are met by selecting the precise data you need, based upon field content, to customize data for a particular application and specific conditions Robust data editing allows working with all standard file types regardless of record length or format Automatically compare two data files or objects thereby simplifying the tedious test results validation process Quickly reformat files by easily modifying an existing file format instead of starting from scratch
File-AID/MVS is designed to be accessed from an ISPF menu such as the ISPF/PDF PRIMARY OPTION MENU Option code is usually F
Steps
Log on to TSO using the appropriate logon PROC or allocation CLIST for File-AID Use the appropriate option code (for example, ISPF option F) or execution CLIST (for example, TSO FASTART) to display the File-AID Primary Option Menu
Press <Enter>. File-AID displays the Parameter Selection Menu screen as given below.
Steps
Press PF1 (HELP) to view tutorial information on each default parameter and make any changes required Use the END command or press PF3 to save any changes made. File-AID redisplays the Parameter Selection Menu. Use the KEYS command, or select option 0, to review or change the File-AID PF key settings. The KEYS command is valid on every File-AID screen.
File-AID is used to Browse a file created through any standard MVS access method including IAM files Display the entire dataset or a selected subset of records View the data in four display modes by supplying record layouts For display modes are Character Formatted Vertical formatted Unformatted (not available for DBCS terminals) Character Mode Provides a full-screen view of the data. From character mode, FMT primary command can be used to redisplay the data in formatted mode VFMT primary command can be used to redisplay the data in Vertical Formatted mode UNFMT primary command can be used to redisplay the data in Unformatted mode
Formatted Mode Allow the user to view the data using a record layout Presents data one record at a time and formats each record fieldby-field Record layouts can be COBOL (FD: 01 level) Cross references (XREFs) are used to define automatic selection of record layouts for datasets with multiple record types From Formatted mode,
1.
2.
3.
CHAR primary command can be used to redisplay the data in Character mode VFMT primary command can be used to redisplay the data in Vertical Formatted mode UNFMT primary command can be used to redisplay the data in Unformatted mode
From Vertical Formatted mode, CHAR primary command can be used to redisplay the data in Character mode FMT primary command can be used to redisplay the data in Formatted UNFMT primary command can be used to redisplay the data in Unformatted mode Unformatted Mode Provides a full-screen display of the data one record at a time without record layout formatting File-AID displays 70 characters of data per line until all data for the record is shown or the screen is filled Accessed by selecting Browse or Edit mode U (Unformatted) or entering the UNFMT primary command from Character, Formatted, or Vertical Formatted mode of Browse or Edit From Unformatted mode, CHAR primary command can be used to redisplay the data in Character mode FMT primary command can be used to redisplay the data in Formatted mode VFMT primary command can be used to redisplay the data in Vertical Formatted mode
Steps Enter 1 in the OPTION field on the File-AID Primary Option Menu
Press <Enter>. File-AID displays the Browse -Dataset Specification screen as shown below.
Browse -Dataset Specification screen can be used to define the browse request, which consists of: Browse Mode Browse Dataset Record Layout and XREF Information Selection Criteria Usage Information. Steps for creating temporary selection criteria to view a subset of records
Type an F in the Browse Mode field to request the Formatted mode for viewing the data records Type the dataset name and pattern character FASAMP.* in the Dataset name or HFS path field Type an S in the Record layout usage field to indicate that the user is using a single layout member to describe your data records Type the dataset name FASAMP.LAYOUTS in the Record layout dataset field Type the member name EMPLOYEE in the layout Member name field. If the layout member is not specified, File-AID displays a list of members so as to select a member from this list Type a T in the Selection criteria usage field to indicate that the user wants to create a new temporary selection criteria specification Press <Enter>. File-AID displays the Dataset List
More about Temporary Selection Criteria Selection options or either of the two types of field selection criteria: formatted and unformatted can be accessed Formatted selection criteria allows the user to select records based on data within a field as specified by a record layout 20File AID Selection Criteria Menu Screen
More about Selection Criteria Options "Starting record key" field is used to specify a random starting point for File-AID to begin selecting records
General Information about Formatted Selection Criteria On initial entry to the formatted screen, a message is displayed on line 3 and lists some of the valid commands can be used. In addition to the commands listed, valid commands include: CAPS Use CAPS OFF to establish exact case testing for character fields Default CAPS ON provides tests for any case and translates entered lowercase characters to uppercase DISPLAY Control fields displayed and format of fields END Return to the Selection Criteria Menu screen SHOW Control information displayed in center column (OFFSET, FORMAT,PICTURE) OFFSET Control format of offset shown (COLUMNS, RELATIVE, HEX) OPTIONS Jump to Selection Criteria Options screen UNFMT Jump to Unformatted Selection Criteria screen. ZERO Control zero suppress for numeric fields
Use the END primary command from the Selection Criteria Menu to indicate that creating and reviewing the temporary selection criteria is finished and are now read to see the results
Steps Type END in the OPTION field Press <Enter>. File-AID displays the Browse formatted screen for the first selected record in the dataset USERID9.FASAMP.EMPMAST
Displaying the Next Record in the Dataset UP, DOWN, BACK (or LEFT), and FORWARD (or RIGHT) primary commands are used to navigate within a formatted display of a record and to move to the next or previous record In formatted mode, the UP and DOWN primary commands enable to view more fields within the current record The BACK (alias LEFT) and FORWARD (aliases: FWD, RIGHT) primary commands scroll the display to the previous and next records, respectively
More about Navigating To Browse the Formatted Records Each of the navigation commands has a corresponding PF key set as the default in user profile. Settings are PF7 UP PF8 DOWN PF10 LEFT (BACK) PF11 RIGHT (FORWARD) Number of records to scroll forward can be specified For example, if record number 10 is the currently displayed record and RIGHT 8 entered, File-AID displays the 18th record in the dataset Number of records to scroll backward can be specified For example, if record number 10 is the currently displayed record and BACK 8 is entered, File-AID displays the 2nd selected record in the dataset Number of the record is indicated in the RECORD field located in line three of the display heading Another navigation command is LR n (locate record number n) For example, LR 4 displays selected record number 4
Processing the Selection Displaying the Previous Record in the Dataset BACK command tells File-AID to scroll the display to the previous record
Steps Type BACK in the COMMAND field Press <Enter>. File-AID displays the previous selected record, as shown in next page
Displaying the User Profile Options PROFILE primary command is used to display the current profile settings
Steps Type PROFILE in the COMMAND field Press <Enter>. File-AID displays three profile lines at the top of the data area
Removing the Profile Settings Information Use the RESET command to hide the profile information lines (indicated with =PROF>).
Steps Type RESET in the COMMAND field Press <Enter>. File-AID redisplays the screen without the profile information lines as shown in next page
Copy
File-AID has a powerful utility for copying all or a selected subset of records from any MVS file The "From" file and the "To" file can be different file types for eg., from VSAM to PDS member Copy utility Provides this ability and has special features for copying partitioned data sets (PDS) including member selection based on ISPF statistics like "last changed date Lets you optionally use standard File-AID selection criteria during the Copy You may use existing selection criteria defined with the Selection utility or dynamically create temporary selection criteria Copy utility is located on File-AID s Extended Utilities menu (option 3) as utility number 3
Steps From the File-AID Primary Option Menu, select File-AID option 3.3 to access the Copy Utility entry screen shown below
FROM PDS Member processing JCL format processing may be specified Copying of complete members or just records in each member that match your selection criteria may be specified All members or a subset of members may be selected based on: Member name Name mask (for example, A?B or AB*) Name range (for example, From AB to BZZZZZ) ISPF statistics Date last modified range Date created range Last modified user ID range Manual selection and/or exclusion of individual members from a list of members matching your member criteria User can also leave the fields blank and press <Enter> to select all members
More about the Copy PPO Screen If a member mask was specified on the entry screen for the FROM dataset, File-AID automatically copies the mask to the Member name mask field, ready for selection
If user is scanning JCL members and looking for multiple conditions within a single statement (for example, DISP=OLD and UNIT=TAPE), use Process In JCL format=Y Use option 0.4 (Processing Parameters) to establish permanent choices for options like Replace like-named members and Copy entire member and Display member selection list fields
Specifying Temporary Selection Criteria When selection criteria usage T is chosen, the next screen displayed is the Selection Criteria Menu screen as shown below This screen is used to access the selection criteria screens to specify what data condition are looking for in a member in order for that member to be copied Steps Type 3 on the OPTION line to Edit unformatted selection criteria Press <Enter> More about the Selection Criteria Menu Screen When processing a PDS, do not use option 1 (OPTIONS). There are no selection criteria options that are applicable to PDS copying
COPY -JCL Specification screen is displayed after Temporary Selection Criteria Menu Screen if batch processing is requested COPY -JCL Specification screen is similar to many batch JCL screens in File-AID The JOB statement is saved from screen to screen and session to session. Have several options: Enter the SUBMIT command to generate the JCL and submit the job Enter the JCL command to generate the JCL and place it in a temporary work file that you are Editing Enter the END command to exit without JCL generation or submission Steps Type JCL on the command line to view the generated JCL Press <Enter>