• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • I Was Just Wondering. . .

    December 14, 2011 Hey, Ted

    Note: The code accompanying this article is available for download here.

    I was wondering if you have come across any techniques using subprocedures to simulate associative arrays in RPG IV. I’ve just started experimenting with the idea. I’d like to create dynamic associative arrays using service programs and user indexes.

    –Steve

    As a matter of fact, I had thought about implementing associative arrays in RPG, Steve. I’ll share my thoughts on that topic. But first, let me talk about wondering.

    I do a lot of wondering. You’ve seen the results of many of my wonderings in previous issues of

    …

    Read more
  • End-of-Year Odds and Ends

    December 14, 2011 Ted Holt

    Dear Colleagues:

    It’s hard to believe that another year is coming to an end, but it’s happening yet again. Let’s wind up 2012 with some odds and ends. I hope you find something useful.

    In response to Message Received, But Not Understood, Michael wrote:

    I have used the CMPDTA parameter on the MONMSG command to provide this filter. See CPF2817.

    Here is an illustration of Michael’s suggestion:

    CPYF       FROMFILE(&FRLIB/&FRFILE) +
                 TOFILE(&TOLIB/&TOFILE) FROMMBR(&FRMBR) +
                 TOMBR(&TOMBR) MBROPT(*REPLACE) CRTFILE(*NO)
    MONMSG     MSGID(CPF2817) CMPDTA(CPF2861) EXEC(DO)
       /* to-file doesn't exist */
       /* do something */
    ENDDO
    MONMSG     MSGID(CPF2817) CMPDTA(CPF2869) EXEC(DO)
       /* from-file is empty */
       
    …

    Read more
  • Admin Alert: Hidden Parameters of the Submit Job Command

    December 14, 2011 Joe Hertvik

    Power i operating system commands are like old friends. You think you know everything about them, then one day they surprise you by displaying a different side of themselves. This week, let’s look at a few hidden parameters available with the i OS Submit Job (SBMJOB) command. These parameters can help you perform some new tricks you may not have thought of.

    Non-Obvious Candidates

    Everyone knows the standard SBMJOB parameters such as Job Name (JOB), Job Description (JOBD), and Job Queue (JOBQ). But if you search the Additional Parameters section of the Submit Job command (available by pressing F10 from

    …

    Read more

Content archive

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

Recent Posts

  • 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
  • Will The Turbulent Economy Downdraft IBM Systems Or Lift It?
  • How IBM Improved The Database With IBM i 7.6
  • Rocket Celebrates 35th Anniversary As Private Equity Owner Ponders Sale
  • 50 Acres And A Humanoid Robot With An AI Avatar
  • IBM i PTF Guide, Volume 27, Number 17

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