• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Find Messages That Contain a Text String

    August 2, 2006 Hey, IT Jungle Forums

    I’m trying to create a utility that will display all messages in a message file that contain a search string in the message description. For example, if we specify the search string as “invalid,” the utility should list all messages in the message file that contain the word invalid.

    –Deepa

    This question was posted on the IT Jungle Web Forums. I suggested Deepa use Qshell’s grep utility to do the search. The following Qshell command scans message file XUSRMSGF to find the messages that contain the word “date” in any case.

    system "DSPMSGD RANGE(*FIRST *LAST) MSGF(XUSRMSGF) 
    DETAIL(*BASIC)" | grep "[Dd][Aa][Tt][Ee]"

    To read the discussion or contribute your ideas, visit the thread on the IT Jungle Forums.

    –Ted

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Raz-Lee Security

    Protect Your IBM i and/or AIX Servers with a Free Virus Scan

    Cyber threats are a reality for every platform, including IBM i and AIX servers. No system is immune, and the best defense is prompt detection and removal of viruses to prevent costly damage. Regulatory standards across industries mandate antivirus protection – ensure your systems are compliant and secure.

    Get My Free Virus Scan

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    T.L. Ashford:  BARCODE400 - the fastest way to create compliance labels directly from the iSeries
    Advanced Systems Concepts:  iSeries data access like nothing else with SEQUEL
    COMMON:  Join us at the Fall 2006 conference, September 17-21, in Miami Beach, Florida

    The Blogosphere Says the IRS Uses the iSeries to Manage Bill Gates’ Personal Taxes Bang for the Buck: Entry i5 Servers Versus the Competition

    Leave a Reply Cancel reply

Volume 6, Number 29 -- August 2, 2006
THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
COMMON

Table of Contents

  • Print PC Documents to iSeries Printers
  • Find Messages That Contain a Text String
  • Admin Alert: Running Green-Screen Commands from OpsNav, Part 1

Content archive

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

Recent Posts

  • POWERUp 2025 –Your Source For IBM i 7.6 Information
  • Maxava Consulting Services Does More Than HA/DR Project Management – A Lot More
  • Guru: Creating An SQL Stored Procedure That Returns A Result Set
  • As I See It: At Any Cost
  • IBM i PTF Guide, Volume 27, Number 19
  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18

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