- 2851. TechTalk
- (General)
- ... an essential part of the conversion process. I figured there were three things to try: CPYF with blocking, custom RPG with blocking, and CHGPF. As it turned out, there was another significant variable ...
- Created on 31 January 2000
- 2852. Free and Easy with WebSQL
- (SQL)
- ... to the AS/400 (with a call to DriverManager.getConnection). Like an RPG initialization subroutine, the init function is only invoked once, so all remote users of WebSQL will use the same SQL connection. ...
- Created on 31 January 2000
- 2853. The ABCs of APIs
- (APIs)
- ... the list. We’ve chosen to show this example in RPG III rather than RPG IV because we realize that not all of you have moved to RPG IV. You can still use most of the APIs in RPG III, as this example ...
- Created on 31 December 1999
- 2854. Shortcut to the Internet
- (General)
- Use your RPG skills as an on-ramp to the Internet with Windows NT and AVR.Weve all seen or heard about the hamburger-flipping scenario awaiting RPG programmers who have yet to learn Java. It gets ...
- Created on 31 December 1999
- 2855. Application Modernization Nirvana
- (General)
- ... have been Visual Basic, C++, Visual RPG, or one of the other languages that were available at the time? Whatever the reason, client/server never became as big as expected. Today, the hype about client/server ...
- Created on 31 December 1999
- 2856. Focus on Application Modernization
- (General)
- ... CGI APIs with RPG to dynamically generate HTML from your application data. Then, in my article, The First Degree of Separation, I discuss how to further modernize your legacy applications by ...
- Created on 31 December 1999
- 2857. Opening Up Your Options
- (General)
- ... a set of information on the screen within a single window. The user interacts with the screen through the Enter key, function keys, and entry fields. The typical interaction between an RPG program and ...
- Created on 31 December 1999
- 2858. Programming for the Lowest Common Denominator
- (General)
- ... a problem? Instead of storing a directory structure of untyped files, the AS/400 stores strongly typed objects in libraries. RPG and COBOL, the most commonly used AS/400 application development languages, ...
- Created on 31 December 1999
- 2859. Revitalization--Put on a GUI Face
- (General)
- ... to find the point where the monolithic program and the UI meet. All interactive programs use a display file, and in the case of RPG, only a few simple op codes communicate with that display file: ...
- Created on 31 December 1999
- 2860. TechTalk
- (General)
- ... for a Change Q: I’m having a problem with something that should be simple but has me baffled. I’m hoping you can help. I would like my RPG IV interactive program to timeout if there’s no response from ...
- Created on 31 December 1999
- 2861. AS/400e Means E-business
- (Commerce - Other)
- ... your RPG development staff into Web programmers. Protecting the investment in your existing AS/400 applications and leveraging your existing skill set can be reason enough to choose the AS/400 as your ...
- Created on 31 December 1999
- 2862. Unravel the Display File Maze
- (IT Infrastructure - Other)
- ... relative to prior offsets. To arrive at data you want, you have to add a series of offsets. Traditional RPG language, with fixed from and through I-specs and D-specs, isnt ...
- Created on 31 December 1999
- 2863. QNTC: Opening Windows NT to the AS/400
- (Microsoft)
- ... to the AS/400 community. At last, there was a way to let your RPG IV programs directly access data on your NT network. Whats more, now, your AS/400, with Windows NT loaded onto the IPCS (hereafter ...
- Created on 30 November 1999
- 2864. From Green-screens to Visual Vistas
- (IBM i (OS/400, i5/OS))
- ... of CL, DDS, and RPG (or COBOL) empowered a programmer to do everything and anything with the AS/400. Alas, todays AS/400 lives in a changed world: TCP/IP has replaced SNA, Windows desktops are the ...
- Created on 30 November 1999
- 2865. In the HTML Driver's Sea
- (Web Languages)
- ... in an RPG program, the format of data returned to your program is ideal if you are dynamically constructing an SQL statement. For example, you can use that list in the SELECT clause to indicate which database ...
- Created on 30 November 1999
- 2866. Picklists on the Fly!
- (RPG)
- ... If you want to compile the code for a release prior to V4R2, you will need to make a few changes to the source code. If you do not have the SQL RPG compiler, you can still use the picklist utility by downloading ...
- Created on 30 November 1999
- 2867. Tricks of the Trade
- (RPG)
- ... over the last several years, formatting individual data elements has become easier. But what if your legacy system is still RPG III? To help remove some of the tedium involved in formatting dates, times, ...
- Created on 30 November 1999
- 2868. Do You Take SQLJ with Your Java?
- (Java)
- SQLJ can perk up your Java applications.As an RPG programmer, I dont often use SQL to interact with DB2 data; I dont have to. RPG is an excellent language to use for database access. With operations ...
- Created on 30 November 1999
- 2869. Swinging with JFC
- (Java)
- ... problem AS/400 RPG programmers have with developing a Java GUI application is simply getting started. Id like to provide you with a tutorial on a minimal JFC application that consists of only an ...
- Created on 30 November 1999
- 2870. JWSPLF: A Better WRKSPLF Utility
- (CL)
- ... and x000070. Figure 3, Section B, contains the sample code needed to get these pointers using the _PCOPTR function. The returned part of the PCO pointer is redefined in RPG as an array of 16-byte ...
- Created on 30 November 1999
- 2871. Just Browsing with JDBC
- (APIs)
- ... really been internalized and put into practice by many AS/400 shops. Most developers are quite skilled at accessing and manipulating data in AS/400 files by using RPG but have a difficult time in transferring ...
- Created on 30 November 1999
- 2872. Making Room for Your Stuff
- (General)
- ... RVI is a document imaging system that lets you store and RVI retrieve spool files and other image files on optical disk. This RPG/Visual Basic (VB)- based system is easy to use and manage. It allows you ...
- Created on 30 November 1999
- 2873. Around the World Wide Web in 80 Ways
- (General)
- ... specific questions. Do you have a printer that wont print in landscape mode or an RPG IV program that cant access a service program in another activation group? Post your question on a Web ...
- Created on 30 November 1999
- 2874. TechTalk
- (General)
- ... through DDS keywords, can give you a GUI-like display from standard AS/400 programs. A good example of this is the RPG IV program CAL001R, which you can find at www. midrangecomputing.com/mc/. This program ...
- Created on 30 November 1999
- 2875. Table It!
- (General)
- ... part code, you would put the order date in the ENDEFF part of the KLIST, then do a SETLL with a KLIST and a READE with only the PARTCD value in factor 1. In this manner, your RPG program will retrieve ...
- Created on 30 November 1999
- 2876. Much Ado About ADO!
- (Visual Basic)
- ... access table. This is the same basic technique you might use to read data from any database file on your AS/400. The technique is similar to the one you would use to read data and write it out in an RPG ...
- Created on 30 November 1999
- 2877. Locking Down Your FTP Server
- (Security - Other)
- With these security tips, there is no escape.Today, there are more ways to connect to your AS/400 than ever before. With the addition of TCP/IP servers, users are no longer limited to green-screen sign-on ...
- Created on 30 November 1999
- 2878. Focus on Data Warehousing
- (Business Intelligence)
- ... to implement a data warehouse. The first reason is that software tools are better than ever. Many people have put in many hours writing programs to replicate, cleanse, load, and analyze data. RPG and COBOL ...
- Created on 31 October 1999
- 2879. Reconcilable Differences
- (Java)
- ... with my servletexampleit embeds the HTML code required for the user presentation (UI). RPG programmers havent embedded UI code since externally defined files became available (and we say theyre ...
- Created on 31 October 1999
- 2880. Psst! Can You Keep a Secret?
- (APIs)
- ... to do has a good chance of discovering those passwords. If you encrypt the passwords, they cannot be viewed by anybody. Shaken, Not Stirred As shown in Figure 1, the RPG program encrypts passwords ...
- Created on 31 October 1999
- 2881. Y2K Ain't Done if Your Software Won't R
- (Analysis of News Events)
- ... Netfinity Server, RPG, COBOL, etc. The APAR includes a PTF number, a description of the problem it fixes, the date the fix became available, and the cumulative PTF file that it is also available in, if ...
- Created on 31 October 1999
- 2882. If It Ain't Broke, Fix It
- (General)
- ... keeping a set of COBOL or RPG programs running, we will find our reliable AS/400s thrown out the door in favor of unreliable Windows NT machines with slick GUI screens. Payback Time Many of us have completed ...
- Created on 31 October 1999
- 2883. Serves Your Data Right
- (General)
- ... Explorer. CGI is a Web development method that uses a wide variety of programming languages, such as C++, Perl, and Java. The AS/400 supports CGI programming through the use of APIs, RPG IV, the ILE version ...
- Created on 31 October 1999
- 2884. TechTalk
- (General)
- ... an RPG program with an F-spec for the particular file involved and adding logic to change the field to its intended value. But if you need to change multiple files and fields, you must either clone the ...
- Created on 31 October 1999
- 2885. Make It Your E-business
- (Commerce - Other)
- ... Key to any e-business application is the set of components that make up the application runtime environment. No longer is an application simply an RPG (or COBOL) program sending display files to a ...
- Created on 31 October 1999
- 2886. WRKACTJOB: The AS/400's Information Cente
- (IT Infrastructure - Other)
- ... is second to none. Option 11: Display call stack. Displaying the call stack is a good way to figure out whether or not you can recover from a program failure. My favorite trick is to call all RPG ...
- Created on 31 October 1999
- 2887. Piloting the AS/400
- (Collaboration & Messaging)
- ... Integrated File System (AS/400 IFS) APIs to write your data directly to the AS/400 IFS. (See RPG IV and the IFS, MC, December 1997.) Use Windows Explorer to map a network drive to your AS/400 ...
- Created on 30 September 1999
- 2888. You've Reached Extension DB2 UD
- (DB2)
- ... your data type. If you place a name in that column, say KEVIN, you have now created an instance (or object) of that data type. Programs, procedures, or functions such as SQL, RPG, or CL support operations ...
- Created on 30 September 1999
- 2889. Just What I've Always Wante
- (RPG)
- Oh, V4R4, you shouldn't have. These new enhancements are just beautiful.V4R4 has been out for a few months, and some of you may have installed it already or plan to install it soon. If your shop uses RPG, ...
- Created on 30 September 1999
- 2890. Procrastinator's Guide to Programming Why Wait
- (General)
- Use RPG IV?s dynamic procedure calls to incorporate application changes.The way companies do business is constantly evolving in response to internal and external changes. For this reason, the software ...
- Created on 30 September 1999
- 2891. Put It in Storage
- (General)
- ... has two types of heaps: the default heap and user-created heaps. The Storage Toolkit uses the default heap, which RPG IV programs automatically create and maintain when you use the ALLOC, DEALLOC, and ...
- Created on 30 September 1999
- 2892. ZIP into the Future
- (General)
- ... other knowledge many of us take for granted. Not convinced? Let me give you a little background on my friend. She has been working as a consultant, programming in RPG and Synon on the AS/400 for about ...
- Created on 30 September 1999
- 2893. Search Out and Destroy Bad Dates
- (General)
- ... is written in CL and COBOL and requires a COBOL compiler, but because most readers of MC dont have a COBOL compiler, I have translated the program into RPG. However, the RPG version doesnt ...
- Created on 30 September 1999
- 2894. TechTalk
- (General)
-
... example, using the DELETE operation in RPG or pressing F23, the Delete function key, while in the DFU). — Chuck Pence
This email address is being protected from spambots. You need JavaScript enabled to view it. Changing the Code Page of AS/400 IFS Files For those who ... - Created on 30 September 1999
- 2895. Build Your Own Command Line
- (CL)
- ... allows recursion. If you rewrite the command line processor in RPG, COBOL, or C, be aware that language recursion rules may limit how far a user can invoke the command line recursively. If you understand ...
- Created on 31 August 1999
- 2896. Head 'Em Up, Move 'Em Ou
- (CL)
- ... file attributes are retained. An RPGLE source member on System A will still be an RPGLE source member on System B. The text field describing the source member will also still be retained after the copy. ...
- Created on 31 August 1999
- 2897. IBM Cares More than You May Think
- (Commentary)
- ... our interests at heartto a greater degree than we should expect. You may have heard a rumor that IBM is considering adding a free-format X calculation specification type to RPG IV. This ...
- Created on 31 August 1999
- 2898. IMHO: So What Has Changed?
- (Commentary)
- ... of doing the job poorly. Internet applications can be very large and complex and, as such, are no easier (or faster) to develop than the last business system you did in RPG. A short time to market can ...
- Created on 31 August 1999
- 2899. Out of the Blue: Failures of Omission
- (Commentary)
- ... invites no argument. No, I will not complete this project by Friday. I have no interest in learning Java; I prefer programming in RPG. Yes, Im having an affair with ...
- Created on 31 August 1999
- 2900. Chart a Client/Server Course
- (General)
- ... few traditional RPG shops have jumped in and implemented client/server solutions, the vast majority of them have taken a wait-and-see approach. Like most topics in the realm of technology, the term client/server ...
- Created on 31 August 1999