TechTips / RPG


Partner TechTip: Secrets Behind Enhancing RPG Applications PDF Print E-mail
Tips & Techniques - RPG
Written by Steve Kilner   
Monday, 11 July 2011 00:00

After measuring 12,000 projects, a leading researcher reveals his findings.

steve_kilnerWritten by Steve Kilner

Maintenance and enhancement projects for legacy systems are notorious for being budget busters and deadline killers. This article gives a quick overview of how you can significantly improve the success rate of such projects. For more information, you can also watch these short videos: Using Complexity Analysis to Lower Project Costs and Hyper-Navigation of RPG Systems.

Last Updated on Monday, 11 July 2011 00:00
Read more...
 
TechTip: XLATE and Character String Manipulation PDF Print E-mail
Tips & Techniques - RPG
Written by Issak Brender   
Friday, 01 July 2011 00:00

Manipulate and protect data quickly and easily.

issak_brenderWritten by Issak Brender

There are many ways in modern RPG/RPGLE to manipulate data: BIFs, data structures, whole programs. This TechTip demonstrates examples of character string manipulations with XLATE operation code.

Last Updated on Friday, 01 July 2011 00:00
Read more...
 
User Rating: / 6
PoorBest 
TechTip: New in 7.1: The %SCANRPL Built-in Function PDF Print E-mail
Tips & Techniques - RPG
Written by Steve Pitcher   
Friday, 17 June 2011 00:00

Replacing values has gotten a whole lot easier!

steve_pitcherWritten by Steve Pitcher

The new RPG IV built-in function %SCANRPL gives you the ability to scan a string for a value and then replace all occurrences with another value. The first parameter is the string you want to search for within another string. The second parameter is the string you want to replace it with. The third parameter is the string you want to scan. Simple.

Last Updated on Wednesday, 15 June 2011 12:59
Read more...
 
User Rating: / 13
PoorBest 
TechTip: Use Qualified Data Structures for Checking Records PDF Print E-mail
Tips & Techniques - RPG
Written by Joe Pluta   
Friday, 13 May 2011 00:00

Database update collisions are a common problem, and qualified data structures provide an easy solution.

joe_plutaWritten by Joe Pluta

Database update collisions have been around since the advent of interactive database maintenance. First, we had no record locks. That left us with "last Enter key wins." Let's say I edit a record and you update the same record at the same time. We key in conflicting changes and press Enter. If I hit Enter first, my change is written to the database first; then your Enter is processed, and your change overwrites my change. Last Enter key wins!

Last Updated on Friday, 13 May 2011 00:00
Read more...
 
User Rating: / 14
PoorBest 
TechTip: The i Side of Real-Time Integration Between Your PC Application and Your System i PDF Print E-mail
Tips & Techniques - RPG
Written by Rafael Victoria-Pereira   
Friday, 02 July 2010 00:00

We continue our quest to create an RPG program that "talks" to your PC application.

rafael_victoria_preiraWritten by Rafael Victoria-Pereira

In a previous tip in this series, I described how to use ADO to call an RPG program from a VB application. Now, I'll detail the fundamental aspects of that RPG program. First, a quick recap: in our scenario, there's a VB application that requires data about a client's debt status. This data resides on a System i within the same network. The data cannot be retrieved via a simple query because a set of business rules is associated with it (the part about the debt limit for the client). The VB application is calling the RPG program via ADO, using a list of parameters (see the table in the previous article).

Last Updated on Friday, 02 July 2010 00:00
Read more...
 
User Rating: / 4
PoorBest 
TechTip: From a PC Text File to a System i Physical File in One or Two Easy Steps PDF Print E-mail
Tips & Techniques - RPG
Written by Rafael Victoria-Pereira   
Thursday, 18 March 2010 23:00

Let's wrap up our three-part FTP series by performing an import.

rafael_victoria_preiraWritten by Rafael Victoria-Pereira

In part 1 of this TechTip series, I explained how to automate FTP transfers. In part 2, I showed how to use the procedure in a real-life situation. Now, part 3 will focus on how to import a text file into a physical file.

Last Updated on Thursday, 18 March 2010 23:00
Read more...
 
TechTip: Automate Data Transfers Using FTP PDF Print E-mail
Tips & Techniques - RPG
Written by Rafael Victoria-Pereira   
Friday, 12 February 2010 00:00

i talk to other servers. No, it's not a typo. This TechTip series will get your System i talking to other servers.

rafael_victoria_preiraWritten by Rafael Victoria-Pereira

Back in the old days, when our server was called AS/400, there were few or even no "satellite systems" like PC servers that needed to pass and/or receive data from it. Nowadays, it's a totally different landscape: the i sits together with a broad scope of servers and devices with which it has to communicate, passing and receiving data. These interfaces are, at times, manual data imports or exports performed by operators via boring and repetitive procedures.

Last Updated on Friday, 12 February 2010 00:00
Read more...
 
User Rating: / 1
PoorBest 
TechTip: Are You Timing Your Dates Correctly? PDF Print E-mail
Tips & Techniques - RPG
Written by Sam Lennon   
Friday, 09 October 2009 00:00

UDATE may not be the right way to get the current date, but old habits are hard to break.

sam_lennonWritten by Sam Lennon

When you need to put a date and a time together in your RPG IV program, be sure you understand how to use UDATE, *DATE, the TIME opcode , %DATE, %TIME, and %TIMESTAMP.

Last Updated on Friday, 02 October 2009 15:18
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 19

WHITE PAPERS

The following White Papers can be found at the MC White Paper Center

 

 


   MC-STORE.COM