• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • A Bevy of BIFs: %XLATE and %REPLACE

    March 4, 2009 Jon Paris

    The %XLATE and %REPLACE text replacement built-in functions (BIFs) are often confused, and part of that confusion may be the result of wishful thinking on the part of RPGers frustrated with the limitations of %XLATE. Just as with the %SCAN and %CHECK BIFs that I discussed in an earlier tip, the major difference between %XLATE and %REPLACE is that %XLATE operates on individual characters and %REPLACE operates on strings.

    Before we study %REPLACE, let’s quickly review the function of %XLATE.

    %XLATE( from : to : input {: startpos} )
    

    The function of %XLATE is to search the input string

    …

    Read more
  • Send Messages Unto Others

    March 4, 2009 Ted Holt

    I’ll never forget the guy who used to call my telephone with a cheery “My computer won’t compute!” whenever he had a problem. Ambiguous appeals for help annoy me to no end. The least a guy can do is give me something to go on; some information to give me a place to start to look for his problem. But in fairness to users, I often find that they don’t have much information to give me because the programmer didn’t make the program tell them anything. A crafty CL programmer knows how to easily avoid such situations.

    When something goes

    …

    Read more
  • Admin Alert: Things I Learned About IBM Maintenance Contracts

    March 4, 2009 Joe Hertvik

    Due to timing issues in my shop’s upgrade cycle, I’m extending system maintenance for several months on one of our System i boxes, which has allowed me to pick up some pointers regarding IBM maintenance contracts. If the bad economy is forcing you to keep your current machine a little longer than you’d like and your existing maintenance is running out, consider these items when purchasing a new contract.

    Think About Termination Options

    When extending maintenance, be sure to carefully review the termination clause in your service agreement.

    In many cases, you only need to extend maintenance for a month

    …

    Read more

Content archive

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

Recent Posts

  • IBM Tweaks Some Power Systems Prices Down, Others Up
  • Disaster Recovery: From OS/400 V5R3 To IBM i 7.4 In 36 Hours
  • The Disconnect In Modernization Planning And Execution
  • Superior Support: One Of The Reasons You Pay The Power Systems Premium
  • IBM i PTF Guide, Volume 25, Number 13
  • 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

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