Blogs

Latest version of RPG is RPG7.1 right?

  • Posted on: 13 November 2013
  • By: NickLitten

 

RPG is not a Rocket Propelled Grenade

RPG2 is that Logic Cycle Thing

RPG3 is the System/38 version

RPG400 is the revamped RPG3 that came with AS400

​everything after that is RPG... unless its ILE then its RPGLE or sometimes RPG4, or its free format so its RPGLE /Free... or its SQL so its RPGSQL or SQLRPGLE... or as many people call RPG/Free - RPG FIVE..... aaaargh

Why doesn't IBM just have a simple version number for each iteration of the wonderful IBM RPG programming language?

IBM i 7.1 Technology Release 7

I love the enhancements to RPG with IBM i V7.1.7. RPG finally looks and reads like a normal modern language. With the advent of this latest version of IBM i, RPG has been neatly upgraded to be a fully free format language. This is a long overdue and a significant change to the language itself. 

RPG gets a facelift with IBM i 7.1 TR7

  • Posted on: 13 November 2013
  • By: NickLitten

I'm loving the new changes to RPGLE with IBM i 7.1 TR7 (that is Technology Release 7). Not to be confused with the awesome Triumph TR7, the sexy pop-up headlight car from the eighties, but I digress...

  • Removal of many unnecessary specifications like F, or P
  • /free /endfree is gone
  • the long procedure and variable names are gone and replaced by dcl-pr instead

Looking at RPG code in the editor, and it actually looks like a modern language *shock*

RPG upgrade with ibmi 71

IBM, quite predictably, is pushing the use of Rational Developer for i (RDi) as all the new coding functions are not available from SEU, PDM or SDA etc. Green screen is dying, get with the program. RDi (Rational Developer for IBM i) is supposedly solid and has been rewritten from the ground up to be smooth and error free. IMHO - it needs to be to be an explosive success. Can you hear me IBM?

Rational Developer for i V9: RPG & Cobol Tools + Modernization Tools + Java Tools

SQL RPG and the annoying compile COMMIT *NONE thing

  • Posted on: 12 November 2013
  • By: NickLitten

SQL has been a major game changer in the RPG programming world.

I first played with SQL back the golden days of RPG3 and RPG400 when we were all wrapped up in using Commitment Control. Journalling files and making changes to data in our RPGSQL programs before issuing a COMMIT or ROLLBACK was exciting and new. Roll forward a few years and database access times have massively increased and the entire concept of commitment control is not something we focus on so much in the RPG programming world.

Because of this history, in modern RPG4 SQL programs, we still have to tell the program not to use commitment if we don't want to use it. This also means you can use embedded SQL in RPG4 programs without journaling your files.

COMPILE TIME PARAMETER

The easiest way is to enter the create parameter of COMMIT(*NONE) thing so it turns it off after the first commit without the isolation level nonsense.

CRT RPG SQL

Upgrade my written CV to an 'Infographic Resume'

  • Posted on: 9 October 2013
  • By: NickLitten


The peeps at Vizualize.me say:

We believe that the traditional text resume is boring, lengthy and long overdue for a makeover. We are creating an online resume format that is beautiful, relevant and fun. We want to enable people to express their professional accomplishments in a simple yet compelling personal visualization. Our vision is to become the future of resumes.

Sounds groovy right?

The Vizualize website is in open Beta testing so I had to go and have a look... and its brilliant. Within seconds I had clicked a button to login with my Linkedin profile and the Vizualize website simply asked me if I wanted to import my resume from Linkedin and BOSH! It created this awesome infographic, with a cool URL (http://vizualize.me/nick.litten) and active pop-ups showing my work history.

IBM RPG sub-procedures are very saucy indeed

  • Posted on: 25 September 2013
  • By: NickLitten

This morning I got question from an old RPG3 chum of mine:

I know a couple of questions they will ask me, what are the different parms used on sub-procedures like *OMIT/*Nopass. Didn't we use those any way? I thought we were writing programs that did or did not necessarily get parms depending what called them using those keywords? To be honest, I know I can look it up but what the bloody hell is a sub-procedure?

My answer started off little then got into the huge waffling email stage. Bear in mind this is a very high level overview and not designed to get into the nitty-gritty of anything. Anyway, I just decided to copy/paste it here for future reference.

 


 

*OMIT/*NOPASS makes parameters funky

*OMIT - Lets you send a parameter as a value or as *nulls

Lets you use the *OMIT keyword when calling you program. So, if you just dont want to pass anything, you can say *OMIT - I think it just passes *NULLS and in the program that is being called you would say something like 

if %addr( parm1 ) = *NULL ;
  parmvalueinprogram = 'something';
else ;
  parmvalueinprogram = 'parm1';
endif ;

 

*NOPASS - lets you just neglect to pass anything at all

Don't even bother.  I think it just passes *NOTHING and in the program that is being called you would say something like 

IBM RPG sub-procedures are very saucy indeed

  • Posted on: 25 September 2013
  • By: NickLitten


This morning I got question from an old RPG3 chum of mine:

I know a couple of questions they will ask me, what are the different parms used on sub-procedures like *OMIT/*Nopass. Didn't we use those any way? I thought we were writing programs that did or did not necessarily get parms depending what called them using those keywords? To be honest, I know I can look it up but what the bloody hell is a sub-procedure?

My answer started off little then got into the huge waffling email stage. Bear in mind this is a very high level overview and not designed to get into the nitty-gritty of anything. Anyway, I just decided to copy/paste it here for future reference.

 


 

*OMIT/*NOPASS makes parameters funky

*OMIT - Lets you send a parameter as a value or as *nulls

Lets you use the *OMIT keyword when calling you program. So, if you just dont want to pass anything, you can say *OMIT - I think it just passes *NULLS and in the program that is being called you would say something like 

if %addr( parm1 ) = *NULL ;
  parmvalueinprogram = 'something';
else ;
  parmvalueinprogram = 'parm1';
endif ;

 

*NOPASS - lets you just neglect to pass anything at all

Don't even bother.  I think it just passes *NOTHING and in the program that is being called you would say something like 

Essential Software for the IBM i Developer

  • Posted on: 23 September 2013
  • By: NickLitten

Last week I was asked to help the Network Team to create an installable pc-image for a Win7 rollout to refresh the software builds for the IBM i Developers and other IT Techies. It's an exciting time at my clients site... with the haggle looking flustered and excited all at the same time.

 NOTE: HAGGLE is the collective term for a group of aging RPG programmers.

So, while everyone is frantically backing up their old XP machines, before getting the new image pushed down here, is a quick list of the software that's being added as part of the base machine - Windows 7 Enterprise [64Bit] and these are the goodies that I like to use when I'm wearing my 'IBM i Developer Hat':

 

IBM i Access for Windows

Client Access IBM i Access delivers the strengths and capabilities of IBM i to the desktop through easy-to-use screens and wizards. Since IBM i Access delivers new releases simultaneously with IBM i, desktop users can start using the new capabilities immediately. Loading it direct from the IBM i Server's IFS share means that the latest version is always easily accessible:

\\your-ibm-i-server-name\QIBM\ProdData\Access\Windows

Then decide if you want to install the 32 or 64 bit version... simple!

Gunnar RPG Computer Glasses

  • Posted on: 20 September 2013
  • By: NickLitten

Gunnar glasses for RPG Programmers

My first memories of wearing glasses were from my pre-teens; my Mum taking me down the local opticians to collect my big brown plastic NHS specs. Some seriously horrible, big brown plastic things. This led to years of school ground taunting being called a speccy-four-eyes and finally refusing to wear them and spending years squinting at blackboards or copying off people next to me… then into my late teens and invention of personal computers and my inevitable attraction to keyboards and monitors… my eyesight took a turn for the worse. By the time I was thirty, I was properly shortsighted (-5 in both eyes) and glasses and/or contacts were just a part of life.

I wish Gunnar optics were around in those days.

I’ve been thinking about wearing glasses specifically for computer work recently, and just today I realized that Gunnar have some glasses called the GUNNAR RPG. So, obviously, as an RPG Programmer they are designed for me!

I have joined the Technorati

  • Posted on: 18 September 2013
  • By: NickLitten

That sounds ominous doesn't it?

No, its nothing to do with a global world order. Which, incidentally, is frequently touted as a bad thing by hordes of conspiracy theorists here in the USA. Personally, I think it might be a good idea. I mean, look at Star Trek. One big world order headed by StarFleet - everyone talking English (even the aliens), everyone on the planet wearing cool uniforms and wars, religions and other infighting have been banned.

The Technorati is much less interesting I'm ashamed to say:

Technorati is a blog search engine. Designed to search the clouds blogs and help share the information. Social media being catalogued and shared to the masses.

But before I can become a fully fledged member I need to prove that I own this blog and tell them about my TECHNORATI CLAIM TOKEN : 4PDTGDFR7X2X 

Now, how long do I have to wait by the mailbox for my uniform to arrive?

 

A modern AS400 application starts with RPG Modernization

  • Posted on: 17 September 2013
  • By: NickLitten



This machine needs to be modernized!

...seems to be the chant of the moment.

But I put it to you that it is not the Computer System that needs modernizing: It is the applications that run on the system... and more importantly the *expectations* of the users and developers that need modernizing.

Most IBM midrange systems out there have been upgraded/replaced over the last five+ years with the latest IBM hardware - IBM Power Systems. Do IBM Power Systems need upgrading?

Nope

Even if you are one of the few IBM midrange shops out there running older system architecture like the older models of IBM iSeries Server, its not that they need modernizing - because I'm sure they are humming along quite contentedly. If your old iSeries Server is running latest version IBM i operating system then does it still need upgrading?

Nope

Pages