• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Use Query/400 to Find IFS Files in BRMS

    July 10, 2002 Timothy Prickett Morgan

    Hey, Joe:

    We’re using Backup Recovery and Media Services/400 (BRMS/400) for backup, and I find locating a tape that has the correct version of an Integrated File System (IFS) file that I’m looking for is a real hassle. Do you know of any shortcuts to locate a list of BRMS tapes that were used to backup a particular IFS file?

    — Bernie

    This was a hassle for me, too, particularly when I needed to restore Domino databases from a BRMS backup and it wasn’t readily apparent which tape in a backup set contained my file. However, a reader recently clued me in to the BRMS QA1ALI file, which is a big help when you’re trying to locate a specific BRMS tape.

    The QA1ALI file stores a history of BRMS IFS object link information, and it resides in the OS/400 QUSRBRM library. QA1ALI records BRMS backup information at the IFS file level, meaning that every time you use BRMS to back up an IFS file, BRMS creates a record detailing file backup history for that file. If you’re looking for backup history for a file or a group of files, you can easily produce a list of BRMS media containing your files by using the OS/400 Run Query (RUNQRY) command. Here’s how I do it.

    First, use RUNQRY to query QUSRBRM/QA1ALI with record selection active by entering RUNQRY from a command line with the following parameters:

    RUNQRY  QRY(*NONE) QRYFILE(QUSRBRM/QA1ALI) RCDSLT(*YES)
              

    RUNQRY will then prompt you with a record selection screen. If you press ENTER without any field selection parameters, RUNQRY will show you every IFS backup record in the entire file. Each record shows you a host of information, including an IFS file name, the date the file was backed up, the time stamp of the backup, and the name of the BRMS media volume containing that version of the file (on the results screen, you’ll have to Window over to find that field; the field name is LISVOL, Starting Volume ID). So, if you’re looking for all the BRMS records showing when a particular IFS file was backed up (say a file named joe.exe), you can retrieve that information in RUNQRY with a simple field selection Equals (EQ) statement. The QA1ALI field name that contains the name of your backed up IFS files is ‘LINAMK’, so to look for all records that provide ‘joe.exe’ BRMS backup information, enter the following field selection criteria in RUNQRY:

    LINAMK EQ  'joe.exe'
              

    And RUNQRY would return all the records containing joe.exe backup history information. Under field selection, you can also use AND/OR processing to select multiple records. On the records that appear, you can easily find the backup date you’re looking for and match it up to the BRMS volume ID of the media the file was backed up to on that date. It’s fairly easily, and it helps you avoid the clumsy BRMS search process provided with the product.

    If you don’t have Query/400 on your system, you can perform the same query to QA1ALI by using a Client Access Data Transfer from AS/400 file query or any other program that allows you to query against an OS/400 file.

    Here’s one final note on the QA1ALI file: This is one of a series of OS/400 files that contain BRMS history information in the QUSRBRM library. If you’re running frequent BRMS backups, this file and its brother files can become rather large. IBM recommends that you can significantly lower the size of your BRMS data files by reorganizing these files once a month. To get a list of BRMS files that should be reorganized on a regular basis, go to
    IBM’s Backup Recovery and Media Services: Best Practices Web site.

    Hope this helps.

    — Joe

    Sponsored By
    WORKSRIGHT SOFTWARE

    On June 30, 2002,
    $$$$$$$$    Postal Rates went UP!    $$$$$$$$

    On July 1, 2002,
    $$$$$    you wanted your postage bill to go down.    $$$$$

    We have the solution! CASS certify your mailing names
    and addresses and presort your outgoing mail and save. Our CASS certification software ensures that your address files
    have valid ZIP Code and address information. Our presort software ensures that you can properly prepare you mail
    for delivery to your Post Office.

    WorksRight Software,
    Inc. is the number-one source for iSeries and AS/400 CASS,
    presort, ZIP Code, and area code software and data.

    Visit our Web site – www.worksright.com –
    to learn more about our CASS and presorting software, or contact WorksRight Software, Inc., phone 601-856-8337,

    e-mail software@worksright.
    com
    .

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags: Tags: mgo_rc, Volume 2, Number 51 -- July 10, 2002

    Sponsored by
    WorksRight Software

    Do you need area code information?
    Do you need ZIP Code information?
    Do you need ZIP+4 information?
    Do you need city name information?
    Do you need county information?
    Do you need a nearest dealer locator system?

    We can HELP! We have affordable AS/400 software and data to do all of the above. Whether you need a simple city name retrieval system or a sophisticated CASS postal coding system, we have it for you!

    The ZIP/CITY system is based on 5-digit ZIP Codes. You can retrieve city names, state names, county names, area codes, time zones, latitude, longitude, and more just by knowing the ZIP Code. We supply information on all the latest area code changes. A nearest dealer locator function is also included. ZIP/CITY includes software, data, monthly updates, and unlimited support. The cost is $495 per year.

    PER/ZIP4 is a sophisticated CASS certified postal coding system for assigning ZIP Codes, ZIP+4, carrier route, and delivery point codes. PER/ZIP4 also provides county names and FIPS codes. PER/ZIP4 can be used interactively, in batch, and with callable programs. PER/ZIP4 includes software, data, monthly updates, and unlimited support. The cost is $3,900 for the first year, and $1,950 for renewal.

    Just call us and we’ll arrange for 30 days FREE use of either ZIP/CITY or PER/ZIP4.

    WorksRight Software, Inc.
    Phone: 601-856-8337
    Fax: 601-856-9432
    Email: software@worksright.com
    Website: www.worksright.com

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Distinct File and Record Names with SQL Reader Feedback and Insights: Service Program Catch-22 Simplified

    Leave a Reply Cancel reply

MGO Volume: 2 Issue: 51

This Issue Sponsored By

    Table of Contents

    • Reader Feedback and Insights: Avoiding Object Locks
    • Use Query/400 to Find IFS Files in BRMS
    • Delete Badly-Named OS/400 IFS Files, Take Two

    Content archive

    • The Four Hundred
    • Four Hundred Stuff
    • Four Hundred Guru

    Recent Posts

    • EvolveWare Makes Progress With RPG Code Modernization Using AI
    • Why The IBM i Market Needed Another VTL Option
    • What Price Power?
    • Cloud Revenues Saved By The GenAI Boom
    • IBM i PTF Guide, Volume 27, Number 44
    • Power Systems Grows Nicely In Q3, Looks To Grow For All 2025, Too
    • Beta Of MCP Server Opens Up IBM i For Agentic AI
    • Sundry IBM i And Power Stack Announcements For Your Consideration
    • Please Take The IBM i Marketplace Survey
    • IBM i PTF Guide, Volume 27, Number 43

    Subscribe

    To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

    Pages

    • About Us
    • Contact
    • Contributors
    • Four Hundred Monitor
    • IBM i PTF Guide
    • Media Kit
    • Subscribe

    Search

    Copyright © 2025 IT Jungle