Category Archives for "Programming"

2

Make ‘System Request 3’ do WRKJOB instead of DSPJOB

AKA Command Line Access from System Request 3 If you are an IBM I software developer or power user – then that headline will make sense. In fact, I can guarantee that’s the only reason you discovered and are reading this page. System Request 3 makes every RPG programmer twitch 3 fingers ready to reach those […]

Continue reading
1 RDi 9.6 powered by coffee

#IBMi RDi 9.6 (Rational Developer for i) is available. Lets grab it!

Second Cup of Coffee – Check. Consumed Doughnut – Check. Removed crumbs and sticky remnants of doughnut from laptop keyboard – Check. And Face – Check. Calendar confirms that todays the day IBM release #IBMi RDi 9.6 – Check. Lets got and grab it – Check. 🙂 I’ve been running RDi 9.5.1.2 for a while […]

Continue reading
java coffee

#IBMi Java – Avoiding the QSH “Press ENTER to end terminal session” message

So, yesterday I added a neat little snippet to my Control Language Program on this #IBMi system, and re-awakened an irritating feature thats bitten me before. I slept badly last night with this problem niggling away in my brain. But awoke to a bright chilly Las Vegas morning with a steamy coffee and a solution […]

Continue reading

Search Scan Replace text in IFS files on IBM i using QSH – iSeries AS400

This morning I wanted to find a quick and dirty way to “Scan Replace text in IFS” files without writing a program to do it…. SPOILER ALERT – it’s really really insanely simple using JAVA QSHELL and the SED command So, before I start into techno-babble mode, here is some background of why I’m looking […]

Continue reading

Using QSNRTVMOD to find the last displayed screen size

While I was writing that previous blog about handling wide fat screens I stumbled across another useful API (QSNRTVMOD) for retrieving the current screen mode that we are displaying. This means we could find our screen width programmatically. Why isnt that a word? I’m not too sure why anyone would want to do this but… […]

Continue reading
1

Handling Fat screens in RPG with IBM i API’s QsnQryModSup and QuiLngTx

I was having a mini-rant earlier about the problems with the old 24×80 screen size. Basically, the newer wider 27×132 is much nicer ( we all know that ) but older 24×80 5250 sessions will get very upset when they try to display a menu or screen that is designed at the 132 characters wide […]

Continue reading
1 2 3 27