|
|
Programming -
RPG
|
|
Written by Thomas Snyder
|
|
Wednesday, 17 June 2009 00:00 |
|
Dynamically specify files in RPG without the use of embedded SQL.
Written by Tom Snyder
Do you have physical files with the same file format that are separated into multiple physical files--whether it be for legal reasons, query speed, or storage archiving--which requires you to keep modifying your programs when the new files are created? This article will show you how to continue creating new physical files, without the need for additional program compiling and maintenance.
|
|
Last Updated on Wednesday, 17 June 2009 00:00 |
|
Read more...
|
|
Programming -
RPG
|
|
Written by Chris Smith
|
|
Friday, 12 June 2009 00:00 |
|
Modernization is one way to enhance the value of an application, but reducing back-end maintenance expense is a close second.
Written by Chris Smith
The trend toward modernization of RPG legacy systems is in full swing largely because companies realize it makes more sense economically to upgrade the front-ends of these applications than it does to rewrite or replace them. What you don't hear much about, however, is the job of maintaining the back-end of these programs that may have been written 20 years ago.
|
|
Last Updated on Thursday, 11 June 2009 11:01 |
|
Read more...
|
|
Programming -
RPG
|
|
Written by Joe Pluta
|
|
Wednesday, 03 June 2009 00:00 |
|
RPG steals a trick from its older brother COBOL to make moving data just a little bit easier.
Written by Joe Pluta
Practical programming is often about the little things. For example, one of the issues in programming multi-tiered applications is moving data between tiers. In message-based programming, you can and should reduce the number of traveling fields by using a data structure that contains only the fields you need. The problem is that you have to populate those fields with individual MOVE instructions and, with large tables, identifying every field can be tedious and error-prone (especially when the fields have short names). EVAL-CORR gets around that problem.
|
|
Last Updated on Tuesday, 02 June 2009 13:09 |
|
Read more...
|
|
Programming -
RPG
|
|
Written by Joe Pluta
|
|
Monday, 04 May 2009 18:00 |
|
Sometimes an old technique with a new tweak is the best answer. This article shows you how to externally describe multi-format flat files from partners or legacy systems.
By Joe Pluta
It's often the little things that can make a big difference in the world of RPG, and often an older technique can come to the rescue when dealing with the thorny issues of the real world. A perfect example is dealing with flat files having multiple formats. While externally described files can't handle them, a mix of old and new techniques can give you the next best thing.
|
|
Last Updated on Thursday, 11 June 2009 16:00 |
|
Read more...
|
|
Programming -
RPG
|
|
Written by Ron Koontz
|
|
Monday, 04 May 2009 18:00 |
|
Bust out your old trig textbooks to write some great code.
By Ron Koontz
As programmers, we're often challenged with unusual requests, and we have to find creative ways to solve the problem.
Here is one such challenge. Based on the client's legacy code, we need to calculate mileage between two cities. The legacy code has a file, but it's not always populated correctly.
|
|
Last Updated on Thursday, 11 June 2009 11:02 |
|
Read more...
|
|
Programming -
RPG
|
|
Written by Thomas Snyder
|
|
Monday, 13 April 2009 18:00 |
|
Those problematic characters, like the ampersand, are easy to manage with the %replace and %scan built-in functions. By Tom Snyder When you're working with Web pages, certain HTML characters require special processing. Otherwise, your Web page may not display properly or your SQL statement may end prematurely. Microsoft ASP and PHP provide functions to support this requirement. So does RPG. In this article, I'll show you how to handle those special characters. |
|
Last Updated on Wednesday, 15 April 2009 09:00 |
|
Register to read more...
|
|
Programming -
RPG
|
|
Written by Joe Pluta
|
|
Monday, 30 March 2009 18:00 |
|
Another trick with arrays is sizing them. This article shows you how to size your arrays dynamically.
By Joe Pluta
In an earlier article, I showed you how to initialize arrays and how to sort them based on a subfield. I did this with fairly small arrays, where you could easily define the values for the array in your D-specs. The next trick is trying load arrays from disk. You don't know how many you will load, and you really don't want to allocate the memory for the entire array.
|
|
Last Updated on Thursday, 11 June 2009 16:09 |
|
Register to read more...
|
|
Programming -
RPG
|
|
Written by Thomas Stockwell
|
|
Monday, 30 March 2009 18:00 |
|
How do programmers and managers use tools to maintain their programs? By Thomas M. Stockwell The results of the IT Incendiary 2008 RPG Maintenance Survey are in, with 250 programmers and managers reporting how they use tools to help them maintain the thousands of programs in their libraries. The survey was divided into two sections: participants who maintained RPG and participants who managed RPG maintenance programmers. The results were both intriguing and revealing. |
|
Last Updated on Tuesday, 31 March 2009 12:09 |
|
Register to read more...
|
|
|
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
|
|
Page 1 of 56 |