Blogs

What does an RPG programmer do?

  • Posted on: 27 September 2016
  • By: NickLitten
RPG is not role playing

First and foremost I'm just a programmer. This means I create and maintain computer software: programs.

Just like you may speak several languages, or perhaps just speak one (but understand many dialects of that language), programmers will typically speak several computer languages or specialize in one language but understand various versions (which are like dialects) of that one language. 

My professional career has been filled with jobs working with IBM Computer systems mainly written in the IBM R.P.G. Language.

RPG is a business language originally designed to generate paper reports for management back in the days before touch screens and smart devices. The Report Program Generator language has evolved so far beyond it's humble beginnings the acronym bears not relation to what modern RPG looks like. It is used to power internet webservers, shopping cart software, it drives major distribution systems, casinos and banks worldwide.

RPG is the language that powers businesses all across the world. Quietly. Humbly. Few people have heard of it.

I'm a Senior RPG Programmer and Technical Consultant on the IBM i platform. I know other languages but I specialize in this wonderfully quirky beast called RPG.

ORION the free RPG Editor from IBM - tell me its true!

  • Posted on: 13 September 2016
  • By: NickLitten

What is this Orion thing?

A browser based RPG editor which is Open Source, Powerful and $free?

In the details of the IBM i 7.3 announcement you will find that the Orion editor will be shipped for free as part of the OPS product on  IBM i.

It even supports free form RPG.  Orion works very well with Git which is an open source, fast and robust source control facility.

Both of these are just now available via PTF, the details can be see on the 5733=OPS developerworks page.

 

 

Free IBM AS400

  • Posted on: 13 September 2016
  • By: NickLitten
free AS400 iSeries

Do you want to play with an AS400?

Do you want to test and iSeries?

Do you want to fiddle with IBM i?

Try pub400.com - the famous public IBM i server for $free!

PUB400 is the successor of PUB1 - the worlds famous public AS/400 system with more than 40.000 users. Now you will have access to the most recent operating system IBM i 7.3 with all new features you need to learn about the fantastic operating system IBM i and its open source capabilities.

The use of this server is free for everyone's learning purposes including 250MB of storage. Please take note that commercial usage is not allowed.

What does a WSDL do for a Web-Service?

  • Posted on: 30 August 2016
  • By: NickLitten
web services on IBM i

I found this old word document that had a neat overview of WSDL (Web Services Description Language) and how it used as part of a web-service. Useful memory jogger:

 

WSDL (pronounced "wiz'-dul")

...is an XML-based interface definition language that is used for describing the functionality offered by a web service.

  • WSDL stands for Web Services Description Language
  • WSDL is written in XML
  • WSDL is an XML document
  • WSDL is used to describe Web services
  • WSDL is also used to locate Web services
  • WSDL is a W3C recommendation
  • A WSDL document is just a simple XML document.
  • It contains set of definitions to describe a web service.

 

 

The WSDL Document Structure

 
  • A WSDL document describes a web service using these major elements:

Element

Description

<types>

A container for data type definitions used by the web service

<message>

A typed definition of the data being communicated

<portType>

SEU vs. RDi - what are the advantages?

  • Posted on: 5 August 2016
  • By: NickLitten
modern ibm rpg programmer with IBM RDi

In the 1980's and 1990'S the source code editor was a text based green screen tool (PDM/SEU) which is still in use at AHP today. This text based editor does not syntax check any of the new programming languages nor does it allow more than 20 lines of source code to be displayed at any time. In the late 1990's SEU was replaced by the new generation of Windows based program code editors. The early version of the code editor was the Websphere Developer Studio (WDSc) and was re-branded Rational Developer for IBM i (RDi) a few years later.

The short answer to "why use RDi" can be summarized as:

  • Improve developer productivity
  • Common development tools platform
  • Improve developers skills

Rational Developer for i is intended for IBM i application programmers or analysts who want to start using modern, more productive development tools. It is the industry standard alternative to the text-based user interface PDM/SEU toolset, providing easier ways to perform everyday tasks. In addition to all PDM functionality, the RSE also includes a number of enhancements that are not available in PDM/SEU:

User Approval Lists in Softlanding's Turnover Change Management tool

  • Posted on: 11 May 2016
  • By: NickLitten
Approval lists in change management

Softlanding Turnover Change Management tool works great and has a nice windows front end (based on Eclipse) and most of the functoins are east to find. For those green screen stalwarts out there - you can also access Turnover from the green screen 5250 comand line. Most functions are pretty easy to find but some like the pesky approval lists are a little more complicated to hunt down:

TURNOVER FOR WINDOWS

Click SYSTEM | Administration | Approval Lists and see:

 

We can also do these same functions using the basic green screen interface.

TURNOVER TERMINAL COMMAND LINE

The TURNOVER menu looks like this:

 

Now you can select the LEVEL that you want to define an approval list for. You can enter a 17 to go direct to the approval list or you can do it the long way like this:

Setup IBM i user profiles in Softlanding's Turnover Change Management tool

  • Posted on: 11 May 2016
  • By: NickLitten
as400 iseries user change management

So, we have IBM i User profiles defined and these users now want to use TURNOVER - so what next? Luckily, defining a user is very simple just launch Turnover (in this blog I use the Windows version running on Windows10) and click the machine you want to administer.

 

TURNOVER FOR WINDOWS

click SYSTEM | Administation | Users and selected the group you want to work with:

If you select and existing user or add a new one you will see :

NOTE: Remember to add users to appropriate Approval Lists if necessary.

 

We can also do these same functions using the basic green screen interface.

TURNOVER TERMINAL COMMAND LINE

The TURNOVER menu looks like this:

How do I setup compile *LIBL in RDi (Rational Developer for IBM i)

  • Posted on: 5 May 2016
  • By: NickLitten
rational developer for as400 iseries and modern IBMi systems

RDi is a great IDE for IBM i Programmers writing source code in RPG, RPGLE or CL. 

acronym alert -- (1) RDi is IBM's Rational Developer for IBM i and (2) IDE is Integrated Development Environment - just a poncy way of saying code editor!

When you first get into using RDi, you might ask a common: How do I setup the jobs library list, so that RDi can verify the source code while I'm typing it? Luckily it's simple to setup. I use two different techniques - 

 

(1) SETUP RDi LIBRARY LIST from REMOTE SYSTEM EXPLORER

If you look at the links in your connection to your IBM i System, you can see a link for Library List. Expand this and edit the your library list. #Simples

 

(2) USE CUSTOM PROGRAM TO SETUP *LIBL

We can also use the command function, to call a program. If you have a simple CL program to manipulate the library list on my connection that sets my library list. Just click on Connection | Properties | subsystems | Initial command:

 

Tango Litten the crazy Boykin Spaniel

  • Posted on: 3 May 2016
  • By: NickLitten
english springer and boykin spaniel from south carolina

April 2016 see's the latest addition to the Litten Clan

#TANGO-LITTEN

Our fun but pesky pup Bailey has rached the age of majority and its time he had a playmante. After some soul searching and lots of craigslist searching I found his perfect buddy. Tango is a year old Boykin (boykins are slightly smaller than springers but with all the same energy, trickiness and effervessence for life). The little bugger has already fit into our active lifestyle and is a constant source of laughter and joy.

First night with the new family was the only night that the bed survived without being humped, bitten, licked and just puppy-bashed to pieces.

He's a whirling brown dervish. You just dont appreciate how hard it was to capture this split second of him sitting still enough to take a photo.

Tango is 1year old... many years of joy and doggy mayhem ahead of us.

;)

 

 

 

I cant see the IFS Network Share - is my profile disabled?

  • Posted on: 2 May 2016
  • By: NickLitten
access the as400 network like an ibm i server

So, I have a love/hate relationship with IBM i's integrated File System

  • Does you keep getting asked for username and password when accessing a windows IFS share?
  • Are you confused why the share to your IBM I Server cannot be viewed in Windows Explorer?
  • Can you view the IFS from one user profile but not with another?
  • Are you swearing at IBM i Access saying things like "Client Access is M&$%^#F*&^%K!"?

For me, the answer to all three questions is frequently "Yes" but luckily, the solution to all three problems is most likely the same thing : my IBM i User profile password has been entered incorrectly and it's been disabled. Now this is where the confusion can set in. Remember, the IFS Network shares are handled by the NETSERVER which is running on your IBM i System. Rather confusingly this network share will allow you access to the IFS but if you repeatedly enter your password wrong it will disable the network share portion of your profile while leaving the rest of the profile enabled -- So, you can signon and off and it looks good but all the while you will find that your netserver part of the profile has been disabled.

How can I check if I've been disabled?

Pages