- 2951. More AS/400 Client/Server Programming with ADO and VBA
- (APIs)
- ... it doesn't have to be loaded again each time it is called. In CL, the RETURN command is used to do achieve this result. In ILE RPG and RPG/400, issuing the RETURN (RETRN) op-code without having *INLR on ...
- Created on 31 March 1999
- 2952. Midrange Insight
- (Analysis of News Events)
- ... expensive server processing power. The AS/400 has benefits when comparing legacy applications written in RPG and COBOL with new Java applications. For instance, Java applications run within a software ...
- Created on 31 March 1999
- 2953. From the Editor: Welcome to the Instant Economy
- (Commentary)
- ... point to a need for more book titles on the subject of Java or RPG. IBM calls the use of these tools business intelligence (BI), a sector of the software market expected to grow at an annual rate of 15 ...
- Created on 31 March 1999
- 2954. Microsoft Is Knocking: Should You Let It into Your Career?
- (General)
- ... came the IBM 360 and 370; and IBM System 3 with a new language, called RPG II; followed by IBM Systems 32, 34, 36, and 38 with another new language, called RPG III. And, finally, came the IBM AS/400. Somewhere ...
- Created on 31 March 1999
- 2955. Using J Walk to Build a Better GUI
- (General)
- ... of having a GUI, the GUI project was usually the first one to be set aside when other important issues, such as Y2K, percolated to the surface. We had already used IBM’s VisualAge for RPG (VA/RPG) to create ...
- Created on 31 March 1999
- 2956. Scan and Replace Source Code
- (General)
- ... even half the problem. Even with a limited number of patterns to locate in date field names, changing command, DDS, RPG, and CL source code was still going to be quite a chore. PDM could help us locate ...
- Created on 31 March 1999
- 2957. TechTalk April 1999
- (General)
- ... files, you can also improve performance in some circumstances. Let us say a program reads a 250,000-record file sequentially. For each record it reads, it does a random read (i.e., an RPG CHAIN operation) ...
- Created on 31 March 1999
- 2958. Activation Group Fundamentals
- (RPG)
- ... they are. We asked veteran ILE RPG and COBOL programmer Mario Martinez to explain the nitty-gritty of activation groups in his own way. We hope his presentation of activation group fundamentals is helpful ...
- Created on 28 February 1999
- 2959. An Error by Any Other Name
- (RPG)
- ... didn’t think about that!). The Basics Errors in RPG programs are generally divided into two classifications: file and program. Likewise, there are generally two simple ways of handling errors in RPG ...
- Created on 28 February 1999
- 2960. Duty-free Import Files
- (RPG)
- Moving files between databases got a lot easier when V4R3 introduced the CPYFRMIMPF and CPYTOIMPF commands.V4R3 contains two new commands that make it easier to move files between DB2/400 and other databases. ...
- Created on 28 February 1999
- 2961. Java IDEs: From Toy Box to Toolbox
- (Java)
- ... area of information I need, then fill in the cracks with ‘net surfing. More than one reference book tends to confuse me; heck, I can never remember whether things are in the RPG Programmer’s Guide or the ...
- Created on 28 February 1999
- 2962. API Power Without API Complexity!
- (APIs)
- ... its messy. Vadim Rozen wrote an RPG IV procedure that provides a much better interface to the QMHLJOBL API. His procedure, Receive Job Log Messages (RCVJLMSG), takes care of all the gory details, ...
- Created on 28 February 1999
- 2963. Programmer's Toolbo
- (General)
- CVTILEFMT: A Beautician Specializing in RPG IV Source Code Converting RPG III source to RPG IV source has never been as easy as this. By using CVTILEFMT after using IBMs CVTRPGSRC command, you will ...
- Created on 28 February 1999
- 2964. TechTalk March 1999
- (General)
-
... a date data type in RPG ILE? Alex
This email address is being protected from spambots. You need JavaScript enabled to view it. A: Heres a three-line solution (Figure 1) that ought to do the trick. This code will add a month, then subtract the ... - Created on 28 February 1999
- 2965. The Dynamic Duo--Routing Data/Request Data
- (IT Infrastructure - Other)
- ... cannot receive external parameters (e.g., *ENTRY PLIST in RPG receives zero parameters). Instead, you can send request data to the program. You prepare request data by executing a command with a Request ...
- Created on 28 February 1999
- 2966. Library Operations Through Service Programs
- (RPG)
- With these subprocedures, you can use RPG or COBOL to perform library list operations.RPG and COBOL were not designed for library list operations, so working with library lists in these languages requires ...
- Created on 31 January 1999
- 2967. Message Files and How to Use Them
- (RPG)
- Save time and eliminate the redundancy of keying the same message over and over.Message files can simplify many redundant programming tasks when used correctly. Status messages, notification messages, ...
- Created on 31 January 1999
- 2968. The Other Coming Disaster
- (Commentary)
- ... old stuff survived into the coming millennium. And I can almost guarantee there wont be any COBOL or RPG programmers then, and Java will be remembered only as an ancient island covered by the oceans ...
- Created on 31 January 1999
- 2969. Who's Been Messing with My Spooled Files
- (Document Management)
- ... a help panel source, a display file, a CL source, and an RPG IV program source, all of which can be downloaded from Midrange Computing’s Web site at www.midrangecomputing.com/mc/99/02. Running the ...
- Created on 31 January 1999
- 2970. Programmer's Toolbo
- (General)
- ... or *NO. The default is *NO, which forces CHKCMP to rebuild the list of members. Suppose, for instance, that you have uploaded a number of RPG programs to your clients AS/400. The source file is QRPGSRC ...
- Created on 31 January 1999
- 2971. TechTalk February 1999
- (General)
- ... ID and password when prompted.6. To download a source member named MYRPG1 from source file QRPGLESRC in library QGPL and rename it to MYRPG1.TXT on your PC, enter the following: GET QGPL/QRPGLESRC.MYRPG1 ...
- Created on 31 January 1999
- 2972. Object-oriented Design for AS/400 Java Applications: Abstract Classes and Polymorphism
- (Java)
- This final installment of our OOD series teaches you how to do things you can?t do with RPG.This article, the fifth and final installment on object-oriented design with Java, introduces you to abstract ...
- Created on 31 December 1998
- 2973. We Interrupt This Program...
- (CL)
- ... command, immediately after each user input operation. This RMVMSG appears right below the Send Receive File (SNDRCVF) command, which is to CL what the Execute format (EXFMT) command is to RPG. Yet More ...
- Created on 31 December 1998
- 2974. How to Find an Existing Logical File Key
- (APIs)
- ... that has the same key as the key entered. The main RPGLE module, CHKLGL_A, collects the file information from the programmer and edits the information for accuracy. When an error is encountered, it uses ...
- Created on 31 December 1998
- 2975. What's in a Job Title
- (General)
- ... to allow for equivalent experience. In the IT field especially, we have seen continual changes due to technological advancements. In the last 25 years, just think of how programming has gone from RPG to ...
- Created on 31 December 1998
- 2976. Transform Your AS/400 into a Network Print Server with AS/400 NetServer
- (General)
- ... APIs can be implemented in CL, COBOL, RPG, C, and C++ programs. AS/400 System API Reference (SC41-5801) contains information about implementing AS/400 APIs. You can find this reference online along with ...
- Created on 31 December 1998
- 2977. Programmer's Toolbo
- (General)
- ... when youre copying lines of code from RPG III into RPG IV and they dont line up in the correct columns. The X command is good to use when you want to remove some lines of code that you dont ...
- Created on 31 December 1998
- 2978. Simplifying Applications with Prompting
- (General)
- ... information about the entity that you are prompting for. This usually includes a description of some sort and any other data that makes the entity more human readable. In the RPG program (ISL001RG), ...
- Created on 31 December 1998
- 2979. Sorting Two-digit Years with #GSORT and FMTDTA
- (General)
- ... sequence specifications from a source member or from a job stream. These sequence specs are similar to RPG in that they are 80 columns wide and contain a specification identifier in column 6. The first ...
- Created on 31 December 1998
- 2980. TechTalk January 1999
- (General)
- ... Technical Editor Midrange Computing Prototype Type Conversion You can ensure that the parameters passed to a system API match what the API expects by defining a prototype for the API. Both C and RPG ...
- Created on 31 December 1998
- 2981. Object-oriented Programming with Visual Basic
- (Visual Basic)
- ... Because of its excellent coverage of the use of OOP to develop real-world business applications, this article is a must-read for all programmers who do not wish to be constrained to RPG and who want to ...
- Created on 31 December 1998
- 2982. Programming Strategies:HTML, CGI, JavaScript, ASP/ADO, DHTML, and XML
- (Web Languages)
- ... Internet applications with your old and faithful RPG and COBOL. One problem with CGI applications is that its openness allows anyone to run an executable program on your server, which can pose ...
- Created on 30 November 1998
- 2983. Programming Strategies: Applets, Servlets, Sockets, Distributed Objects, and Vendor Specific
- (Java)
- ... IBM lost its chance there. The low- level communications strategy of the Internet today is sockets (see Figure 3). You can write to the sockets API with any language that supports it, such as C, C++, RPG, ...
- Created on 30 November 1998
- 2984. Evolutionary Phases of a Web Site
- (General)
- ... including Net.Data, LANSA for the Web, Domino, Java, and RPG/CGI. Anyone new to Web systems development will have to get used to a unique characteristic of this type of systemstatelessness. A typical ...
- Created on 30 November 1998
- 2985. Dynamic Data
- (General)
- ... Because RPG IV does not support variable-type parameters, key values are passed using pointers. Instead of passing the key directly, the client passes a pointer to the key value. To do this, use %ADDR(KeyFld). ...
- Created on 30 November 1998
- 2986. Formatting Your Data for Output
- (General)
- See how these new tools make your programming job easier. As the RPG language continues to evolve, more and more tools have been put at our disposal. New data types and BIFs have been added to make our ...
- Created on 30 November 1998
- 2987. TechTalk December 1998
- (General)
- ... example, if youre looking for a way to format an RPG IV numeric field with its edit word so that it can be properly viewed in a browser, its here! Looking for an RPG IV prototype that will ...
- Created on 30 November 1998
- 2988. The Case of the Irate System Operator
- (IT Infrastructure - Other)
- ... The CPP then calls HAP056 (see Figure 2), an RPG program that uses the QUSLSPL API to list all spooled files to a data area. HAP056 meets most of the criteria passed to it from the command. The only parameter ...
- Created on 30 November 1998
- 2989. Arrays for Intelligent People Part 2
- (RPG)
- ... out when an item number changes and at end of job, respectively. Using the RPG cycle and output specs makes this sort of program easy to develop. Notice that the arrays are referred to in several places ...
- Created on 31 October 1998
- 2990. Get a Grip on ILE Binding, Part 2
- (RPG)
- ... ILE Payroll Application To illustrate how to take charge of binding, consider an RPG IV service program designed for a payroll application. Initially, it calculates federal taxes and net pay for one employee. ...
- Created on 31 October 1998
- 2991. COBOL? Did Anyone Say COBOL?
- (General)
- ... second only to RPG in the AS/400 arena. Unfortunately, the number of subscribers who clamor for COBOL coverage is too small to warrant publishing an article every month, and thats why you dont ...
- Created on 31 October 1998
- 2992. Improve Your Passing Game Using LDA
- (General)
- ... 1K, or 1,024 bytes. You can use any or all of the LDA from any of your CL or high-level language (HLL) programs. In addition, the LDA can be externally described in RPG programs and can be very useful ...
- Created on 31 October 1998
- 2993. Beginning SQL Part One
- (SQL)
- ... described with DDS and accessed a record at a time from a third-generation language (3GL) such as RPG or COBOL. SQL can work concurrently with native access to allow you to manipulate these files. SQL ...
- Created on 31 October 1998
- 2994. Have You Listed Your Data Areas Lately?
- (IT Infrastructure - Other)
- ... outfile is named DTAARA and placed in QTEMP. Then, it calls RPG III program DTA002RG to generate the listing. Since the outfile produced by DSPOBJD is defined using QSYS/QADSPOBJ as a model, I coded the ...
- Created on 31 October 1998
- 2995. Client-to-DB2/400 Connectivity with JDBC
- (DB2)
- ... record-at-a-time processing a better choice. Traditionally, on the AS/400, this type of processing was done whole. with RPG. However, record-at-a-time processing can also be done with Java through ...
- Created on 30 September 1998
- 2996. Get a Grip on ILE Binding, Part I
- (RPG)
- ... a simple report. The application driver module is written in RPG IV and is named LPCOSTRPG. It has a source member attribute of RPGLE (see Figure 1). LPCOSTRPG will produce a simple report that lists the ...
- Created on 30 September 1998
- 2997. Object-oriented Design for AS/400 Java Applications: Inheritance
- (Java)
- ... Copy code is where the code is copied into a source member at compile time (rather than the design time of cut and paste) using COPY statements. The use of copy code with COBOL and RPG programs is far ...
- Created on 30 September 1998
- 2998. Security Patrol
- (IBM i (OS/400, i5/OS))
- ... on the system and the user portion of the library list. These users should be prevented from accessing other libraries, such as QRPG, by giving the group profile GRPFTP *EXCLUDE access. Think Like a ...
- Created on 30 September 1998
- 2999. Midrange Insights
- (Analysis of News Events)
- ... fight against the UNIX and NT advocates. The AS/400 can make a case only as strong as the BP making the sale, and if that partner really knows only OS/400 V2 and RPG, it will not only show, it will hurt ...
- Created on 30 September 1998
- 3000. From the Editor: Whats Happened to Circus Microsoft?
- (Commentary)
- ... public celebrations in which free software utilities and beta code CDs are passed out like party favors. (Imagine a similar party being thrown for your own latest RPG IV program. What would you use for ...
- Created on 30 September 1998