- 601. Simplify Interactive Error Handling with ILE RPG and APIs
- (APIs)
- ... the system will be correct. This article deals with using APIs and ILE procedures to create informative and useful error messages in your interactive RPG programs. We will also explore how to use a technique ...
- Created on 29 February 2000
- 602. IMHO: RPG III (RPG/400) Is Better than RPG IV
- (Commentary)
- Apparently, IBM doesn't adhere to the ol' KISS (Keep It Simple, Stupid) philosophy.In RPG III: Good for Its Time (MC, April 1999) and IBM Cares More than You May Think (MC, September ...
- Created on 31 January 2000
- 603. RPG Programmers Meet Lotus Notes
- (RPG)
- ... DB2/400. I cant make an exhaustive comparison in so few words, but I hope you will at least get an idea of what Notes is about and how it differs from the RPG/CL/DDS world AS/400 programmers are ...
- Created on 30 November 1999
- 604. IMHO: Is Rochester Conspiring to Kill RPG Development?
- (Commentary)
- ... Enhance RPG and other AS/400 languages so that they can access the user interface controls and classes of a native GUI. Integrate the communication between the GUI running on a client and AS/400 high-level ...
- Created on 30 September 1999
- 605. Professional Paths RPG A.J. (After Java)
- (General)
- ... be impacted and by how much. What will happen to RPG in the wake of Java? Interestingly, the things most quickly and significantly impacted are not always what you might expect. Primary and Secondary ...
- Created on 30 September 1999
- 606. Untangle the Web with RPG and CGI
- (RPG)
- Abracadabra and alacazam! Your everyday program is now a browser-friendly CGI application.A few articles have dealt with using RPG to write Common Gateway Interface (CGI) applications, which allow midrange ...
- Created on 31 August 1999
- 607. Discover the Missing Link to RPG and Java
- (Java)
- Welcome to the rock'em, sock'em world of sockets.Much has been written and discussed about Java and its interoperability with RPG legacy applications. With Java spreading faster than office gossip and the ...
- Created on 31 August 1999
- 608. Encapsulation--Java Power with RPG Simplicity
- (Java)
- ... free on the Web) allows RPG programmers to use familiar RPG op codes, such as SETLL, READE, and UPDAT, to access AS/400 data from Java programs and to develop e-business applications that use the logic ...
- Created on 31 August 1999
- 609. The Eagle Eye of INDRPG
- (RPG)
- Use this command to find those elusive logic blocks.Here is a utility command that will become invaluable in your programmers toolbox: the Indent RPG command. It shows RPG code (any flavor) indented ...
- Created on 31 May 1999
- 610. RPG and HTML: Another Winning Team
- (RPG)
- Use the RPG-HTML combo to give your users access to the data they need. Using RPG to create HTML documents is a great way to replace or enhance your existing displays, reports, and menus. After ...
- Created on 30 April 1999
- 611. RPG and CGI Code Word--Dynamic!
- (RPG)
- ... Interface (CGI) programs. CGI programs run on a Web server and interact dynamically with user input. They can be written in C, Perl, Java, Visual Basic, and, more important to us, RPG or COBOL. In ...
- Created on 31 March 1999
- 612. RPG III: Good for Its Time
- (RPG)
- RPG IV really is better. Why isn't your shop using it?I havent taken any surveys, but I doubt many RPG III programmers would prefer to write RPG II. I know I wouldnt. External file definitions ...
- Created on 31 March 1999
- 613. Are RPG Subroutines Obsolete?
- (RPG)
- ... or The RPG cycle should be banned. Im going to throw in another condiment of the same flavor and say, Subroutines should be consigned to history. Let me first say that I plan ...
- Created on 31 January 1999
- 614. TCP/IP Socket Programming in RPG? Cool!
- (RPG)
- Now, you can use RPG IV to create TCP/IP socket program without having to use any C Programming.Build an RPG IV client/server function to remotely print a listing of library objects using TCP/IP socket ...
- Created on 31 January 1999
- 615. RPG III-to-RPG IV Conversion Utility
- (RPG)
- IBM?s Convert RPG Source (CVTRPGSRC) command falls short of expectations. Use this tool instead.RPG III-to-RPG IV conversion can be easier when you have the right tool to get you there. Our tool includes ...
- Created on 31 December 1998
- 616. RPG Building Blocks
- (RPG)
- Look, Ma! File I/O without F-specs!File Access via Service Programs RPG III improved upon RPG II by allowing files to be defined externally. Now, RPG IVs subprocedures improve on RPG III by allowing ...
- Created on 30 November 1998
- 617. IMHO: RPG Certification - Friend or Foe?
- (Commentary)
- ... to mind that may make you think about how you value RPG certification. Why are IBMs certifications acquired ex post facto, and how does that chronology relate to the definition of the certification? ...
- Created on 30 November 1998
- 618. RPG Building Blocks
- (RPG)
- ... of the ILE environment. Applications created from integrated components are easier to create and maintain. The message-handling components described in this article are part of a toolkit of RPG IV subprocedures ...
- Created on 31 October 1998
- 619. Using C Functions in ILE RPG
- (RPG)
- If you think those useful C functions are just for C programs, you?re in for a pleasant surprise.Impossible though it may seem, you can bind C functions to RPG IV programs. Since so much software has been ...
- Created on 31 October 1998
- 620. RPG Building Blocks
- (RPG)
- ... existence of a character pattern in a character string? The LIKE procedure now gives you this ability. Its pattern matching made simple for RPG IV programs! If you have ever needed to scan text ...
- Created on 30 September 1998
- 621. RPG Building Blcoks
- (RPG)
- Here?s a simple way to ?externalize? the XLATE op code.About Translating Strings Heres a simple way to externalize the XLATE op code. RPGs XLATE op code is flexible, but it depends ...
- Created on 31 August 1998
- 622. TOP TIPS: RPG September 1998
- (RPG)
- ... transfer the value from the INFDS fields to the fields listed in the cursor location (CSRLOC) parameter of the display file’s DDS. The DDS and RPG IV fragments in Figure 1 illustrate how this is done. ...
- Created on 31 August 1998
- 623. RPG Building Blocks
- (RPG)
- Math Functions Galore There?s life out there beyond ADD, SUB, MULT, DIV, and SQRT.Beginning with V3R7, RPG IV programs can evaluate complicated mathematical functions by calling bindable APIs. This article ...
- Created on 31 July 1998
- 624. Building the Bridge Between RPG IV and PC Programs
- (RPG)
- Forget 5250 emulation! With this utility, you can integrate executable PC programs using RPG IV.You dont have to simulate PC applications in your 5250 RPG programs. Heres a utility that will ...
- Created on 30 June 1998
- 625. Catch of the day: RPG IV
- (RPG)
- What was IBM thinking when it didn?t include the vital Display Module Usage (DSPMODUSG) command with RPG IV? Lucky for you, you can get it right here. The Display Module Usage (DSPMODUSG) command is an ...
- Created on 30 June 1998
- 626. RPG Building Blocks:String Find and Replace
- (RPG)
- ... 5, and the other two as 1. *================================================================= * To compile: * * CRTRPGMOD MODULE(XXX/FNDRPL) SRCFILE(XXX/QRPGLESRC) + * TEXT(Find/Replace function) ...
- Created on 30 June 1998
- 627. From RPG to Java: A New Era in AS/400 Debugging
- (General)
- ... AS/400 platform. You may already be familiar with products like CODE/400 and VisualAge for RPG. Currently, both of these products are being marketed as an ADTS Client Server for AS/400 solution. The client ...
- Created on 30 June 1998
- 628. RPG Building Blocks: Maxima and Minima
- (RPG)
- Determine the highest and lowest values when comparing multiple numeric values.When the RPG IV development team designed built-in functions in the language, they omitted the functions that find the maximum ...
- Created on 31 May 1998
- 629. What's New with RPG IV
- (RPG)
- The metamorphosis of RPG continues.My kids and I enjoy reading fairy tales. Together, weve seen an ugly duckling become a swan, a beast become a handsome prince, and a wooden puppet become a boy. ...
- Created on 31 May 1998
- 630. RPG Building Blocks: Converting a Character String to a Numeric Value
- (RPG)
- ... The RPG IV built-in functions (BIFs) %editc and %editw have been a great help in presenting numeric data on display devices and in reports. Although youve always been able to use edit codes and ...
- Created on 31 March 1998
- 631. RPG Building Blocks: Spelling Numbers
- (RPG)
- When is a number not a number? When you need it to be words instead.Several years ago, we received many requests for a routine to convert a number to words. In response, we published an RPG III program ...
- Created on 28 February 1998
- 632. Changing Case with RPG IV Subprocedures
- (RPG)
- ... to be converted to lowercase. I've written RPG III routines that performed this type of conversion in the past. Generally, however, these routines weren't reusable by other programs, and the ones that ...
- Created on 31 December 1997
- 633. Writing Your First RPG CGI Data Entry Program
- (RPG)
- ... That's right, much less work than you might think. The technique uses the sameRPG you're used to using, basically replacing DDS with HTML. I think you'll find HTML more intuitive than DDS. The result is that ...
- Created on 31 December 1997
- 634. A GUI Experiment with IBM's VisualAge for RP
- (RPG)
- This article is aimed at RPG programmers who remain captives in the exclusive world of RPG III/IV text-based (green-screen) programming and have not yet adopted any graphical interface tool. Perhaps youve ...
- Created on 31 May 1997
- 635. TechTalk: Create RPG key lists with the CRTKLIST utility.
- (RPG)
- When you want to READ or CHAIN to a file by key using RPG, you often need to create a key list. If there are many key fields in the file, this can be time consuming. I wrote a utility called Create Key ...
- Created on 30 April 1996
- 636. TechTalk: Pass data through imports and exports in RPG IV.
- (RPG)
- Imports and exports can be used to pass fields or data structures between one RPG IV module and another. The use of imports and exports is similar in concept to passing parameters. One module defines the ...
- Created on 30 April 1996
- 637. The Indent RPG IV Source Utility
- (CL)
- ... such as if...then...else and iteration operations such as do while. RPG has had these types of operations for many years; however, RPG differs from most programming languages in that it doesn't allow you ...
- Created on 30 April 1996
- 638. TechTalk: A quick and easy way to find a subroutine in an RPG program.
- (RPG)
- Very often, programmers need to jump to the beginning of subroutines within their RPG programs. When writing or modifying very large programs, finding a specific subroutine can be a very time-consuming ...
- Created on 31 March 1996
- 639. TechTalk: An RPG IV date calculation routine.
- (RPG)
- One of the long-awaited features of RPG IV (ILE RPG) is the ability to do date math. Now that RPG has date math, there are many ways to take advantage of it, even if your date fields aren't date data types. ...
- Created on 29 February 1996
- 640. ILE RPG 1996 & Beyond: Part 2
- (RPG)
- In Part 1 of this series (MC, December 1995), I explained what the planned enhancements to ILE RPG will allow programmers to do: use a free-form syntax to call programs and procedures, call procedures ...
- Created on 31 December 1995
- 641. ILE RPG 1996 & Beyond: Part 1
- (RPG)
- Beginning with V3R1, IBM has delivered a new generation of RPG for AS/400 programmers-ILE RPG. The ILE RPG language as delivered with V3R1 is just the beginning. As a member of the RPG development team ...
- Created on 30 November 1995
- 642. TechTalk: ILE RPG Pointer Arithmetic
- (RPG)
- With the release of V3R1, IBM made pointers available to ILE RPG programmers. Pointers are useful when writing calls to APIs; they can make programs faster, and they allow greater flexibility. IBM has ...
- Created on 31 October 1995
- 643. TechTalk: RPG Comments Made Easy
- (RPG)
- Here is a technique for inactivating RPG source statements by converting them to comment statements. You can also activate statements that were converted to comments. Use the CHANGE SEU line command in ...
- Created on 31 October 1995
- 644. TechTalk: ILE RPG Source Editing
- (RPG)
- I would like to point out a problem you may encounter when editing an ILE RPG source member. SEU defaults to windowing the source statements of an RPGLE member to column 6. Columns 1 through 5 are preserved ...
- Created on 31 October 1995
- 645. TechTalk: READ Loops in RPG
- (RPG)
- ... throughout the program for all my I/O and LOKUPs. This is the way I was taught to write COBOL, and I've used it in RPG since then. From: Brad Stone To: Ted Holt I like the idea you have about using ...
- Created on 31 October 1995
- 646. TechTalk: SQLRPG Gotcha Workaround
- (SQL)
- ... are defined as NULL capable. The PC users access and maintain these tables with PC programs written in a client/server language. I also have some AS/400 programs?RPG programs that contain embedded SQL ...
- Created on 31 October 1995
- 647. RPG Data Structures Primer
- (RPG)
- Data structures can be used to solve many programming problems encountered in everyday work in RPG. Many operations used to rearrange data can be eliminated by effective use of data structures. Data structures ...
- Created on 31 August 1995
- 648. TechTalk: Duplicate RPG Members Utility
- (RPG)
- A programmer from our shop wanted to modify an RPG III program. Because he wanted to use some new ILE functions, he converted it from Original Program Model (OPM) RPG to ILE RPG with the Convert RPG ...
- Created on 31 August 1995
- 649. TechTalk: RPG String Calculations
- (RPG)
- Character string handling has become a powerful tool in the RPG programmer's toolbox. The following three techniques offer you a few shortcuts for jobs that used to be very tedious. To find out how many ...
- Created on 31 August 1995
- 650. TechTalk: SQL RPG Variable Declarations
- (SQL)
- RPG programmers have gotten used to the idea of being able to define variables anywhere they like in a program. As long as you state the size and type of variable somewhere in the program, it will compile. ...
- Created on 31 August 1995