• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Guru: Global Variables in Modules

    December 13, 2021 Ted Holt

    When I first learned to program computers (RPG II, COBOL 74), the only kind of variables I knew of were global variables. Any statement within a program was able to use any variable.  It was not until I started my computer science degree that I found out about local variables, which are known to only part of a program. Since that time, it has been my practice to use local variables as much as possible and global variables only when necessary.

    Ideally an RPG program, service program, module, or subprocedure would have no global variables at all, but I don’t …

    Read more
  • Want to Modernize? Great! Now Get to Work

    December 8, 2021 Alex Woodie

    Application modernization has been one of the more popular topics through the course of 2021. After the initial scare of COVID-19 wore off and the pandemic wore on, many companies came to the conclusion that older applications were hobbling their ability to compete in an increasingly digital world. While it’s clear the desire for modernization in the cloud is building, what’s unclear is the extent to which that will translate into action at IBM i shops.

    The COVID-19 pandemic and economic lockdowns rewarded two groups: companies that had largely digital business plans, and those who could run their applications in …

    Read more
  • Security Threats, They Are a Changin’

    November 17, 2021 Alex Woodie

    Ransomware came into 2021 like a lion, but rather than going out like a lamb, it seemed to get bigger and meaner. Even IBM i shops, which so often are protected from the wider security storm, felt the panic and sense of helplessness of having their previous data held for ransom. But early indications are that the security threat we’re talking about this time next year may be entirely different.

    It’s tough to overestimate the impact that ransomware had on American businesses and other institutions through the course of the year. We had indications that something big was unfolding a …

    Read more
  • Consider Modernizing Your Approach to IBM i Security, Too

    November 10, 2021 Alex Woodie

    Many IBM i users are facing the reality that they need to modernize their IBM i applications, especially those based on monolithic blocks of fixed-format RPG. But other aspects of the IBM i experience can use some renovating too, including how organizations manage their security settings. Luckily, in the last few Technology Refreshes to IBM i, IBM has provided a slew of new SQL-based services for doing just that.

    Traditionally on IBM i, administrators had two main approaches for viewing and changing security settings. They could view and control the settings directly using commands, often automated through CL programs. Or …

    Read more
  • IBM i Developer Day This Week

    November 10, 2021 Alex Woodie

    IBM i developers of all stripes are welcome to IBM i Developer Day, a free virtual event that’s scheduled to take place next Friday, November 19, at 1 p.m. ET. Organized by Liam Allan, the event will feature a heavy dose of Visual Studio Code (Allan’s favorite IDE) plus discussions hosted by IBMers on the future of IBM i and its role in the cloud.

    The world of application development is moving fast, but many IBM i pros are still stuck in the past when it comes to the tools, technologies, and techniques they use. While RPG and COBOL development …

    Read more
  • Guru: Abstract Data Types and RPG

    November 8, 2021 Ted Holt

    An abstract data type (ADT) is a type of data and a set of operations defined over that type of data. Using ADTs allows a programmer to work with data in terms of functionality rather than physical representation. The ADT is the basis of object-oriented programming. Does that mean that abstract data types don’t apply to procedural languages like RPG? Not at all. Quite the contrary.

    Before I show you how you can use abstract data types in RPG-based applications, let me further illustrate abstract data types with another, non-OO object — the user profile. The user profile is a …

    Read more
  • PHP Is Here To Stay: PHP 8 And Beyond

    November 1, 2021 Mike Pavlak

    In 2005, PHP ushered in the era of TRUE open source development on IBM i with version 5.3 of the language, thanks to the dedicated efforts of Zend and IBM Rochester. PHP had just gone through a major evolution and was taking the world by storm in the middle of the Version 5 phenomena.

    Many IBM i developers were rapidly wrapping their heads around this wildly popular scripting technology with code stored in IFS files and Db2 data popping up on pages running directly on IBM i. Nearly every website on the web that was not HTML had some flavor …

    Read more
  • Guru: Flexible Interfaces

    November 1, 2021 Ted Holt

    The details are murky, it’s been eons ago. Probably the mid-1990’s. I was working on an AS/400 that ran a mixture of System/36 and native applications. I needed to call a program that had been written in the latest version of RPG from both S/36 RPG II and native RPG III (a.k.a. RPG/400) programs. I hope I’m remembering this correctly. It’s been so long.

    The problem I ran into was rooted in a numeric parameter. S/36 programs passed numeric parameters in zoned decimal format, whereas native RPG and CL programs used packed decimal. The called program defined the parameter as …

    Read more
  • Technical Debt: The Silent Killer

    October 27, 2021 Alex Woodie

    There’s a dangerous malady afflicting companies that rely on the IBM i server to run their business applications. Left undiagnosed and untreated, it can debilitate an IT shop, rendering it unable to take advantage of new opportunities and respond to challenges. It’s called technical debt, and you or an organization you know may be suffering from it as we speak.

    Technical debt is a concept that is credited to Ward Cunningham, the American programmer and the co-author of Manifesto for Agile Software Development. “If you develop a program for a long period of time by only adding features but …

    Read more
  • Guru: Quick And Handy RPG Output, Take 2

    October 25, 2021 Ted Holt

    I am pleased today to revisit a topic I wrote about just over seven and a half years ago. I do so for two reasons. First, I’ve made a slight improvement to my routine. Second, I’d like to provide more examples of this routine in action. My previous article suffered from a paucity of examples. I can’t believe I let that happen.

    I’m talking about the writeln subprocedure, a handy routine that I use to write unstructured text to a spooled file. I derived the inspiration for this routine from Pascal, a programming language I used heavily when I was …

    Read more

Previous Articles Next Articles

Content archive

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

Recent Posts

  • Power Systems Grows Nicely In Q3, Looks To Grow For All 2025, Too
  • Beta Of MCP Server Opens Up IBM i For Agentic AI
  • Sundry IBM i And Power Stack Announcements For Your Consideration
  • Please Take The IBM i Marketplace Survey
  • IBM i PTF Guide, Volume 27, Number 43
  • IBM Pulls The Curtain Back A Smidge On Project Bob
  • IBM Just Killed Merlin. Here’s Why
  • Guru: Playing Sounds From An RPG Program
  • A Bit More Insight Into IBM’s “Spyre” AI Accelerator For Power
  • IBM i PTF Guide, Volume 27, Number 42

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