ILE RPG function to search the IFS for files

An updated version of these procedures can be found here.

This function searches the IFS for files and directories having a name that matches the mask 🙂

When a matching file is found, a ‘File Found’ function/procedure is called. The ‘File Found’ function/procedure is one that you supply. An example is supplied.

Continue reading

ILE RPG function to convert a string to upper/lower case

» Please note, that this article has been superseded by this one: ILE RPG function to convert a string to upper/lower case – fast. If you convert many fields/records in one go, these procedures are way faster that doing it using SQL 😉

The two functions, contained in this module, converts a string to upper and lower case. The advantage of these two ILE RPG functions is, that the conversion includes national characters 🙂 For us Danes, the letters ‘æøåáé’ will be converted to ‘ÆØÅÁÉ’.

Continue reading

Releasing Jesper’s ToolBox for IBM i V1.30

ToolBox2Jesper’s ToolBox for IBM i is a collection of some of my IBM i tools, all wrapped up in a nice installation program, easy to install 🙂

Jesper’s ToolBox for IBM i V1.30 contains these tools:

  • Change Owner by Object.
  • Create Development Library.
  • Display Source Status.
  • Export Source to Folder.
  • Make.
  • Move Unused Objects.
  • Program Reference.
  • Selection Window.
  • Set Library List from Job Description.
  • Soft Size.

Read more about these tools, and download, them from here.

Note that the tools are wrapped up in an installation package made by iInstall Reborn that will be available soon 🙂 An appetizer is available here.

 

Releasing Jesper’s ToolBox for IBM i V1.20

ToolBoxJesper’s ToolBox for IBM i is a collection of some of my IBM i tools, all wrapped up in a nice installation program, easy to install 🙂

Jesper’s ToolBox for IBM i V1.20 contains these tools:

  • Change Owner by Object.
  • Create Development Library.
  • Display Source Status.
  • Export Source to Folder.
  • Make.
  • Program Reference.
  • Selection Window.
  • Set Library List from Job Description.
  • Soft Size.

Read more about these tools, and download, them from here.

Note that the tools are wrapped up in an installation package made by iInstall Reborn that will be available soon 🙂 An appetizer is available here.

 

It is time for Aprils Fool

Aprils FoolSo, 1st of April is coming up and it is time to make a little fun with your co-workers.

I have collected two Aprils Fool programs that you can use on your iSeries in order to make a little joke with your co-workers 🙂

Select the program you want to use, and make sure that the program is being called in the users login program. If you do not use a login program, you can define one of the Aprils Fool program directly on the users profile as login program.

Continue reading

When was the last time you created a Windows batch file?

If the last time you wrote a Windows Batch file was back in the good ol’ MS-DOS or Windows 95 days, then time has come to step up and experience that Windows Command files is the new black 🙂

Today Windows Command files has grown into an advanced script language having many interesting features. The tool iInstall.Cmd uses many of the new features in order to install a Savefile on your iSeries. Continue reading

What iSeries library is a CL program loaded from?

Most often when you develop a CL program, it is in order to use it as a ‘driver’ program for a RPG/ILE RPG/COBOL/C program. In order to make sure that the RPG/ILE RPG/COBOL/C program is called correctly you have to add the library containing the CL and RPG/ILE RPG program in question, or you can hard-code the library on the CALL command.

This is, however, not a flexible solution, as the CL and RPG/ILE RPG program cannot be copied to other libraries because the CL program will always call the RPG/ILE RPG program in the library hard-coded on the CALL command :-

Fortunately help is on it’s way 🙂 Continue reading

iInstall Reborn

iInstCrtJavaI am proud to announce that iInstall Reborn, the new version of iInstall, will be released during winter 2016.

iInstall Reborn is the tool to use for installing objects on a IBM i (AS/400, iSeries, Power i) in a very simple manner for the end user/customer.

iInstall Reborn has wizard style dialogues for the tool that creates the distribution packages as well as for the installation utility itself.

The new version is developed in Java and will use the JT400 toolkit. iInstall Reborn will focus on IBM i object installation and it will be able to install files/folders in the IFS as well as Library and Objects.

So, when will iInstall Reborn be ready? Some time during winter 2016.