Craig Pelkie

Craig Pelkie is a senior technical editor for iPro Developer and has worked as a programmer with IBM midrange computers for many years. He has also written and lectured extensively on IBM i technologies, including client/server programming, Client Access, Java, WebSphere, .NET applications for IBM i, and web development.

Articles by Craig Pelkie
Rational Open Access: RPG Edition Workshop
Rational Open Access: RPG Edition Workshop, Part 3
Craig Pelkie puts the finishing touches on a three-part series that demonstrates how to use Rational Open Access: RPG Edition (RPG OA) to create a handler program that returns data read from a text file in the IFS on IBM i. He also shares an RPG OA technique that lets the program pass additional parameters to the handler.
Rational Open Access: RPG Edition
Rational Open Access: RPG Edition Workshop, Part 2 
Using Rational Open Access: RPG Edition (RPG OA), you can work with status conditions such as end-of-file and error, and return data from a handler to the client. Craig Pelkie walks you through the process by building on the example programs presented in Part 1 of this series.
Run IBM i Access Client Solutions Data Transfers on the IBM i 
IBM i Access Client Solutions (ASC) now provides some features of the traditional IBM i Access for Windows in a Java environment. Any client computer that has the Java 6 or Java 7 runtime environment can use the ACS programs. Because the product is Java-based, you can run the Data Transfer features on the IBM i and take advantage of IBM i batch processes to run the data transfer programs.
Rational Open Access: RPG Edition Workshop, Part 1 
Rational Open Access: RPG Edition (RPG OA) is one of the new features of RPG that can help with modernization efforts. With RPG OA, you can redirect RPG input/output operations from the standard IBM i I/O routines to "handler" code that you develop. In Part 1 of this series, Craig Pelkie shows you how to get started.
Use Bit Masks to Set and Determine Compound Values 
When representing a combination of options in a single value, define the possible based on powers of 2, then create and test your values with bitwise logic.
Run Access Client Solutions Data Transfers on IBM i
IBM i Access Client Solutions (ACS) now provides some features of the traditional IBM i Access for Windows in a Java environment. Any client computer that has the Java 6 or Java 7 runtime environment can use the ACS programs. Because the product is Java-based, you can run the Data Transfer features on IBM i and take advantage of IBM i batch processes to run the Data Transfer programs.
Using Microsoft .NET for IBM i Web Service Enablement 
Using "Microsoft" and "IBM i" in the same sentence is sure to stir debate in the IBM i community. But consider this: Microsoft apps easily connect to IBM i, .NET enables web services on V5 and earlier versions of IBM i, and many shops have a mixed environment of Windows and IBM i servers. To help you better make a case, for or against, using Microsoft .NET for IBM i web service enablement, this article shows what's available and how the IBM i and .NET work together.
PHP and RPG: What Goes Where?  1
Whether you're creating a new web application or modernizing an old one on IBM i, Craig Pelkie suggests a few things to consider before you start writing a lot of code in PHP. He advises ways to keep your code simpler, your development time shorter, and your maintenance easier.
Microsoft .NET for IBM i Developers - Track 3: Web Services 

Total Running Time: 224 min

A simple definition of web services is "web applications without a user interface". Although it may sound like web services are not that useful, web services provide an outstanding technique for communication between your applications and applications that are provided by your customers or suppliers. Web services provide a highly efficient means of querying and transferring data between systems and, in many cases, should be considered as an alternative to cumbersome bulk data transfer techniques.

Microsoft .NET for IBM i Developers - Track 2: Web Development 

Total Running Time: 184 min

A big part of the attraction of Microsoft .NET is its extensive support for web application programming. In this track, you'll use the tools and features in Visual Studio 2010 to develop web applications that display and update data on your IBM i.

Note: this track assumes that you have successfully completed Track 1 or that you have equivalent experience.

In this track you'll learn:

Microsoft .NET for IBM i Developers - Track 1 

Total Running Time: 260 min

If you are just getting started with .NET, or if you already have some .NET development experience but need to learn how to connect to the IBM i database, start with this track. This track is a prerequisite to tracks 2 and 3. This track assumes that you have no prior experience with .NET, Visual Studio, Visual Basic and C#, but if you do have some experience, you'll find this track useful for learning about the IBM i database providers.

Microsoft SQL Server for IBM i Developers 

Total Running Time: 220 min

Microsoft SQL Server is one of the most widely used database management systems. It is frequently used along with the IBM i in many companies. In this System i Network eLearning course, you'll learn how you can effectively use SQL Server to complement your IBM i database. SQL Server provides many features and functions that will help you meet your organization’s needs for interoperability with your IBM i.

JavaScript and Frameworks for the IBM i Developer
Learn why JavaScript is an essential tool for creating well-performing web applications. With that knowledge under your belt, you'll be ready to leverage the jQuery and Ext JS JavaScript frameworks, which you can learn all about in this issue's articles by Don Denoncourt and Mike Pavlak.
Generate Code with T4
The .NET Framework includes at least two code-generation techniques that you may wish to look into. The first is known as CodeDOM, a complex environment requiring quite a bit of effort to become proficient with. The other code-generation technique, which is much more accessible to application developers, is the T4 code generator. T4 stands for Text Template Transformation Toolkit, and the "magic" of T4 is in its second word: template. The T4 code-generation technique centers on template files that you define. The output is directed to a text file, which can be used as the basis of a new program or for whatever other purpose you need. All the references and documentation I found for T4 are well presented, but I never did find the exact instructions for the technique I show in this article.
MVP Members


• 80+ hours of Videos
• eBooks
• Articles
• Digital Magazine
• Discounts

Join Now!

Already a member

iPro Forums

Get answers to questions, share tips, and engage with the iPro Community in our Forums.

Featured Products

Let your PHP Apps Fly on IBM i: High-performance PHP

Tuesday, July 30th Presented by: Alan Seiden EARLY BIRD DISCOUNT – Enroll by July 12th and SAVE 20% Learn how to ensure excellent performance for your PHP applications that run on IBM i (or that connect to IBM i). This one-day, three-session eLearning event contains techniques not available anywhere else. This event will have you brimming with ideas to make your application fly....More

Let your PHP Apps Fly on IBM i: High-performance PHP & iPro Developer Digital Subscription

Tuesday, July 30th Presented by: Alan Seiden EARLY BIRD DISCOUNT – Enroll by July 12th and SAVE 20% Learn how to ensure excellent performance for your PHP applications that run on IBM i (or that connect to IBM i). This one-day, three-session eLearning event contains techniques not available anywhere else. This event will have you brimming with ideas to make your application fly....More

Let your PHP Apps Fly on IBM i: High-performance PHP - Session 3

In sessions 1 and 2 you learned to leverage IBM i with PHP to produce content quickly, but the journey is only beginning. Your dynamic content must travel to the user's browser or device. Then you must deliver images, JavaScript, and cascading style sheets (CSS). Don't let your application get bogged down there. Learn how to speed delivery of your PHP-generated content, AJAX, JavaScript, CSS, and all the components of a modern web application. You will learn:...More
From the Blogs
May 15, 2013
blog

Integrated Middleware: 25 Years of Building it the Right Way

Integrated Middleware: 25 Years of Building it the Right Way...More
XML Service
May 8, 2013
blog

Getting at Your Data: XML Service

During the process of putting the PHP ecosystem on IBM i, IBM realized that it needed a better option for data access—not just from PHP, but from any language, either on the local systems or on a remote machine. The result is something IBM calls “XML Service.”...More