• 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
    DRV Tech

    Get More Out of Your IBM i

    With soaring costs, operational data is more critical than ever. IBM shops need faster, easier ways to distribute IBM applications-based data to users more efficiently, no matter where they are.

    The Problem:

    For Users, IBM Data Can Be Difficult to Get To

    IBM Applications generate reports as spooled files, originally designed to be printed. Often those reports are packed together with so much data it makes them difficult to read. Add to that hardcopy is a pain to distribute. User-friendly formats like Excel and PDF are better, offering sorting, searching, and easy portability but getting IBM reports into these formats can be tricky without the right tools.

    The Solution:

    IBM i Reports can easily be converted to easy to read and share formats like Excel and PDF and Delivered by Email

    Converting IBM i, iSeries, and AS400 reports into Excel and PDF is now a lot easier with SpoolFlex software by DRV Tech.  If you or your users are still doing this manually, think how much time is wasted dragging and reformatting to make a report readable. How much time would be saved if they were automatically formatted correctly and delivered to one or multiple recipients.

    SpoolFlex converts spooled files to Excel and PDF, automatically emailing them, and saving copies to network shared folders. SpoolFlex converts complex reports to Excel, removing unwanted headers, splitting large reports out for individual recipients, and delivering to users whether they are at the office or working from home.

    Watch our 2-minute video and see DRV’s powerful SpoolFlex software can solve your file conversion challenges.

    Watch Video

    DRV Tech

    www.drvtech.com

    866.378.3366

    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

    • The Power11 Transistor Count Discrepancies Explained – Sort Of
    • Is Your IBM i HA/DR Actually Tested – Or Just Installed?
    • Big Blue Delivers IBM i Customer Requests In ACS Update
    • New DbToo SDK Hooks RPG And Db2 For i To External Services
    • IBM i PTF Guide, Volume 27, Number 33
    • Tool Aims To Streamline Git Integration For Old School IBM i Devs
    • IBM To Add Full System Replication And FlashCopy To PowerHA
    • Guru: Decoding Base64 ASCII
    • The Price Tweaking Continues For Power Systems
    • IBM i PTF Guide, Volume 27, Numbers 31 And 32

    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