|
Tips & Techniques -
RPG
|
|
Written by Rafael Victoria-Pereira
|
|
Friday, 12 February 2010 01:00 |
|
i talk to other servers. No, it's not a typo. This TechTip series will get your System i talking to other servers.
Written 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 01:00 |
|
Read more...
|
|
Tips & Techniques -
RPG
|
|
Written by Sam Lennon
|
|
Friday, 09 October 2009 01:00 |
|
UDATE may not be the right way to get the current date, but old habits are hard to break.
Written 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 16:18 |
|
Read more...
|
|
Tips & Techniques -
RPG
|
|
Written by Kevin Forsythe
|
|
Friday, 19 June 2009 02:00 |
|
Rather than create multiple versions of code to do different things with data, this technique allows you to have only one copy of that logic.
Written by Kevin Forsythe
As we try to develop more modular code, one of the problems that we encounter is how to integrate modules or procedures that need to process more than a single record or row of data. We already know that we can easily pass parameters or arguments between procedures that hold all the data we need if we are processing only a single row or record. But what if we want to call a process that processes all the records for a selected part, or all the records for a given PO, or any similar process? What if we want to pass an array or multiple-occurrence data structure? Those have some limitations that make them more difficult to implement.
|
|
Last Updated on Friday, 19 June 2009 02:00 |
|
Read more...
|
|
Tips & Techniques -
RPG
|
|
Written by Jan Jorgensen
|
|
Thursday, 05 February 2009 20:00 |
|
Create charts and graphs using RPG, XML, and Shockwave Flash. By Jan Jorgensen Over the last few months, I have worked on a PHP project in which I created graphs and charts to show on a customer's Web server. For that job, I used the free and excellent software from maani.us called XML/SWF Charts. |
|
Last Updated on Thursday, 05 February 2009 12:04 |
|
Read more...
|
|
Tips & Techniques -
RPG
|
|
Written by Joe Pluta
|
|
Tuesday, 18 December 2007 19:00 |
|
A couple of odd little keywords allow you to use the old-fashioned compile time array, but this tip will show you a different take on it. By Joe Pluta Ah, another TechTip! Quick update: My last TechTip on getting PTFs on CD worked just fine. I'll follow up shortly with a TechTip on installing those PTFs from an image catalog. And now back to your regularly scheduled tip. In this tip, I'm going to show you some clever D-spec tricks that will allow you to remove one of those remnants of old-fashioned RPG programming. A D-spec, or definition specification, is the specification we use to define variables in our modern RPG programs. Prior to this, variables were either found in input/output specifications or defined as work fields right in the C-specs (calculation specifications). |
|
Last Updated on Wednesday, 19 December 2007 04:50 |
|
Read more...
|
|
Tips & Techniques -
RPG
|
|
Written by Adam Glauser
|
|
Tuesday, 04 December 2007 19:00 |
|
Ever been jealous of your Perl programming colleagues with their built-in hash tables? Learn how to make your own using RPG! By Adam Glauser What is an ADT? ADT is short for abstract data type. The NIST defines ADTs as "set[s] of data values and associated operations that are precisely specified independent of any particular implementation." A good way to see what this means is through an example. The stack ADT is perhaps the most well-known and straightforward. A stack is a collection of data items that can be visualized as being arranged in a pile. All ADTs provide creation and deletion operations. Other operations defined for stacks are... |
|
Last Updated on Saturday, 22 December 2007 03:46 |
|
Read more...
|
|
Tips & Techniques -
RPG
|
|
Written by Shelli Peck
|
|
Tuesday, 06 November 2007 19:00 |
|
How do you access other databases from your System i and track changes to the remote data? Database processing is at the core of most IT applications. The processing of information usually involves reading and updating records within a database. While the System i is at the heart of many database storage and transaction applications, more and more System i shops have data that is stored and accessed on other servers. Popular databases such as SQL Server, Oracle, and MySQL store important company data. |
|
Last Updated on Tuesday, 06 May 2008 08:51 |
|
Read more...
|
|
Tips & Techniques -
RPG
|
|
Written by Aaron Bartell
|
|
Tuesday, 06 November 2007 19:00 |
|
Open desktop applications from RPG when the user presses a key in a 5250 session. by Aaron Bartell Every so often, I see the mailing lists address the topic of how to automatically open desktop applications from RPG when the user presses a key in a 5250 session. Usually, the need is to open a browser window and deep link into a Web site by passing a long URL string (e.g., http://ups.com/trackpackage/packageid=Z123412341234). The standard answer is to use one of the features in Client Access (i.e., STRPCO or STRPCCMD). While that works in some cases, an alternative approach is to spin your own wool. That's where I come in. |
|
Last Updated on Tuesday, 27 January 2009 09:37 |
|
Read more...
|
|
|