• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Reader Feedback and Insights: RPG II

    December 4, 2002 Timothy Prickett Morgan

    Hey, Ted:

    I am writing in response to your article, “Help with RPG II Programs“, which published in the November 1 issue of Midrange Guru, where you explained replacing indicators in S/36 RPG code. You provided some good suggestions about indicator replacement in S/36 code. Since I’m still ‘hip boots and snorkel deep’ in that code, I have a few more suggestions.

    Definitely investigate the replacement of calculation result indicators with the “IFEQ” calculation operations.

    If it appears that you still need to retain an indicator for conditioning output, investigate including an EXCPT op code within the

    …

    Read more
  • Protecting HTML Page Elements with JavaScript and CSS

    December 4, 2002 Timothy Prickett Morgan

    Hey, David:

    I have an HTML form with several optional elements. Is there a way to protect and unprotect text elements based on a checkbox? When the user checks an alternate shipping address box, I want to open up a set of shipping address fields. I tried to do this with JavaScript, but the value of the checkbox doesn’t seem to change in Internet Explorer.

    — Loren

    You were on the right track checking the value for the checkbox; however checkboxes are a special case.

    The value attribute for checkboxes represents what the browser sends to the server when the

    …

    Read more
  • LIKE is Like, Confusing, Man!

    December 4, 2002 Timothy Prickett Morgan

    Hey, Ted:

    IBM is doing it again, and I’m about to pop a vein. I’m getting a data decimal error in an RPG IV program when I access the contents of a data area subfield. The subfield is called PPLANT and it’s defined on the D spec with the LIKE keyword. PPLANT is based on a database file field named IPLANT, which is zoned.

    D PlantDS         ds
    D  PPlant                             like(iplant)
    

    The compiler listing shows IPLANT in the file input and output buffers as being in zoned-decimal format. However, the cross reference shows IPLANT as being in packed-decimal format. Since IPLANT

    …

    Read more

Content archive

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

Recent Posts

  • What You Will Find In IBM i 7.6 TR1 and IBM i 7.5 TR7
  • Three Things For IBM i Shops To Consider About DevSecOps
  • Big Blue Converges IBM i RPG And System Z COBOL Code Assistants Into “Project Bob”
  • As I See It: Retirement Challenges
  • IBM i PTF Guide, Volume 27, Number 41
  • Stacking Up Power11 Entry Server Performance To Older Iron
  • Big Blue Boosts IBM i Support In Instana, Adds Tracing
  • It Is Time To Tell Us What You Are Thinking And Doing
  • IBM i PTF Guide, Volume 27, Number 40
  • The GenAI Boom Is Only Slightly Louder Than The Dot Com Boom

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