• 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 i Has a Future ‘If Kept Up To Date,’ IDC Says
  • When You Need Us, We Are Ready To Do Grunt Work
  • Generative AI: Coming to an ERP Near You
  • Four Hundred Monitor, March 22
  • IBM i PTF Guide, Volume 25, Number 12
  • Unattended IBM i Operations Continue Upward Climb
  • VS Code Is The Full Stack IDE For IBM i
  • Domino Runs on IBM i 7.5, But HCL Still Working on Power10
  • Four Hundred Monitor, March 6
  • IBM i PTF Guide, Volume 25, Number 11

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 © 2023 IT Jungle