I thank Marco Drost for bringing this video to my attention.
Even if this is an urban legends it is still a funny story.
I am going to assume that you know what Procedures and Subprocedures are. If you do not, no worries, you can read IBM’s definition in the RPG manual here.
The RPG all free brings us the following changes to the way we code Procedures and Subprocedures:
Below I am going to give the three most common ways I use Procedures and Subprocedures. They are many other ways they can be used, but I don’t use them or use them infrequently.
Feburary 11th's IBM i Virtual User Group presentation about What's New in 6.1 & 7.1 Security is now available for viewing below.
VUG's next meeting is on Wednesday March 26, 2014, at 1:30 - 2:30 PM US Central Standard Time, and is called ProtecTIER & IBM i.
This presentation will cover the wide range of security enhancements added by IBM in the 6.1 and 7.1 operating system releases. These enhancements include the ability to encrypt data on media (tape and virtual tape) and on disk, new intrusion detection and prevention enhancements along with a number of additional system integrity, audit and compliance related changes that are available for all customers.
When using PDM have you ever wanted to have your option do something different from the default way of doing it. For example if you want to use your own values in certain parameters for creating a RPGLE program. You can do so using without changing the command by using PDM’s user defined options.
IBM announced when IBM i
7.1 6.1 was launched that PDM and SEU would no longer be updated, they are still very popular (for more details see here). Over the years I have found that many developers do not use the options within PDM. In this post I am going to describe how to change the defaults for your PDM and how to configure user-defined options.
Prior to the new all free RPG variables (fields) would have been coded in the Definition specification, D-spec. With the new version of RPG the fixed format D-spec has gone. It has been replaced by new free form definition statements. At the time I am writing this post I have not found any other articles giving examples of how to code these new definition statements, therefore, I am going to give examples of how I have used them as I am starting to become this new version of the language.
The definitions I am going to discuss here are:
The draft Redbook for what is new in Technology Release 6 and 7, TR6 and TR7, update is just now available for download from IBM’s website.
The abstract for this manual is:
This IBM Redbooks publication introduces a technical overview of the new features, functions, and enhancements available in IBM i 7.1. It provides a summary and brief explanation of new capabilities and what changed in the operating system. This publication also describes many of the licensed programs and application development tools that are associated with IBM i. This publication includes all the enhancements that were delivered with the Technology Refresh 6 and 7 that were made available in 2013.
While I have been working with the new RPG all free (released in November 2013) I have unable to find examples comparing the pre-change to the post-change RPG code. Therefore, I thought I would give some examples of how to define files here.
When I first heard that RPG had gone completely free I was concerned that we could now intermix everything. This scared me as I had vision of people intermixing file definitions with the equivalent of calculations, etc. Fortunately what I have found is while you can intermix the new definition statements, you cannot insert them into the equivalent of the "calculation specifications".