• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Monitor for Specific Messages in RPG

    May 2, 2007 Hey, Ted

    I have a CL program that calls another CL program and monitors for specific escape messages. No big deal. I put multiple Monitor Message (MONMSG) commands after the CALL. Suppose I want to call the second CL program from an RPG program. How do I monitor for the different errors?

    –Ray

    OK, Ray, let’s set this up for the readers. Let’s suppose your program, which we’ll call SOMEPGM, can return escape messages MYM2101 and MYM2105. A CL caller monitors for those messages like this:

    CALL       PGM(SOMEPGM) PARM(&whatever) 
    MONMSG     MSGID(MYM2101)  EXEC(DO)
    /* do something */
    ENDDO
    MONMSG     MSGID(MYM2105)  EXEC(DO)
    /* do 
    …

    Read more
  • Overcome the Page Control Limitations of iSeries Access Printer Emulation Sessions

    May 2, 2007 Michael Sansoterra

    Over the years, iSeries Access virtual printer emulation sessions have been used to successfully print a variety of spool file reports from System i and AS/400 systems to a local PC printer. Regardless of the report’s page attributes (page orientation, lines per inch, characters per inch, number of columns, etc.), the printer emulator will often successfully and automatically correct the output and automatically adjust the spool file’s page settings to print successfully to a local printer. However, in other cases it seems like it takes quite a bit of tinkering to get various spool files to print correctly to a

    …

    Read more
  • Admin Alert: Dealing with i5 Critical Storage Errors,

    May 2, 2007 Joe Hertvik


    Part 2

    In the last issue, I discussed some tricks for monitoring your system to detect storage problems. Today, I want to shift the focus from determining when your disk storage is filling up to what you can do to increase available drive space. I’ll do this by providing a checklist of several different techniques you can perform to retrieve system storage space that you might have thought was lost forever.

    Finding the Right Cure for Your Storage Woes

    Disk drive capacity issues can cause system problems when i5 storage usage passes the 90 percent level. Performance degradation starts

    …

    Read more

Content archive

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

Recent Posts

  • 2025: An IBM i Year In Review
  • A Tale Of Two Server Markets
  • Guru: CRTSRVPGM Parameters That Can Save or Sink You
  • As I See It: What’s Past is Prologue
  • IBM i PTF Guide, Volume 27, Numbers 49 Through 52
  • Learning And Laughing With Scott Forstie And Tim Rowe
  • IBM’s CEO Says GenAI Is Great For Enterprise, But It Will Not Be AGI
  • Guru: A First Look at Bob, The IBM i Assistant That’s Closer Than You Think
  • Happy Holidays To All Of You From All Of Us
  • IBM i PTF Guide, Volume 27, Number 48

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