Programming


Import CSV Files with File Correcting PDF Print E-mail
Programming - RPG
Written by Rafael Victoria-Pereira   
Wednesday, 20 August 2014 00:00

Build your own user-friendly CSV file-upload programs.

rafael victoria preiraWritten by Rafael Victoria-Pereira

Editor's note: This article is an excerpt from the new MC Press book Flexible Input, Dazzling Output with IBM i.

 

This chapter presents a user-friendly CSV file upload program. While the program itself is simple, it uses some interesting procedures to recover records with the most common user errors in the CSV file. In

Add a comment
Last Updated on Wednesday, 20 August 2014 00:00
Read more...
 
User Rating: / 3
PoorBest 
The API Corner: Getting Directions Using Inquiry Messages PDF Print E-mail
Programming - APIs
Written by Bruce Vining   
Wednesday, 20 August 2014 00:00

Use APIs to send and receive messages.

bruce viningWritten by Bruce Vining

Last month, in Trying to Allocate an Object?, we enhanced the program AllocObj, which was first introduced in Problems Allocating an Object?. The enhancement was that the program, if run in an interactive job, would build a subfile listing those jobs with locks on the object. From this list, the user could decide to contact someone about one or more of these jobs, end one of more of these jobs, and/or cancel the current running of AllocObj.


 

This month, we are going to look at the batch side of AllocObj.

Add a comment
Last Updated on Monday, 18 August 2014 16:21
Read more...
 
User Rating: / 1
PoorBest 
Book Review: Advanced Guide to PHP on IBM i PDF Print E-mail
Programming - Web Languages
Written by Alan Seiden   
Friday, 15 August 2014 00:00

Enterprise-level PHP skills and techniques have been adapted for IBM i developers in Kevin Schroeder's new book.

alan seidenWritten by Alan Seiden

In the eight years since PHP became available to IBM i, applications running PHP on the i have become more sophisticated and mission-critical. Wise developers will want to employ modern development techniques to ensure that their applications are easy to maintain and test. A new book by Kevin Schroeder, Advanced Guide to PHP on IBM i, offers IBM i developers professional development techniques to keep pace with the needs of today's growing applications.

Add a comment
Last Updated on Friday, 15 August 2014 09:02
Read more...
 
Top 10 Reasons Why Rails on i Is So Cool PDF Print E-mail
Programming - Web Languages
Written by Don Denoncourt   
Monday, 11 August 2014 00:00

Don Denoncourt expounds on why Rails has become the hottest technology in the web development industry.

don denoncourtWritten by Don Denoncourt

I worked the PowerRuby booth at the spring COMMON Conference this year. Many of our booth visitors asked, "Why would I use Rails over Java, .Net, or PHP?" Each time I was asked that question, I seemed to respond with a different answer. So I decided to compile my top ten answers into this article:

Add a comment
Last Updated on Monday, 11 August 2014 00:00
Read more...
 
User Rating: / 2
PoorBest 
RPG Academy: Parameters: What You Should Know, Part 1 PDF Print E-mail
Programming - RPG
Written by Rafael Victoria-Pereira   
Friday, 08 August 2014 00:00

 

Previous TechTips described procedures and functions. Now it's time to talk a bit about parameters. Read on to find out more!

 

rafael victoria preiraWritten by Rafael Victoria-Pereira

 

We talked about procedures and functions, describing them as something similar to subroutines with parameters. So let's talk about those parameters: how they work, how to best use them, and other interesting facts.

 

 

 

There are multiple ways to pass information from one program to another program. You can exploit the LDA, use a temporary file, or pass parameters, just to name a few. Some methods are easier to implement and maintain than others because they're more explicit and "debuggable." Passing parameters is, in my opinion, the best solution in the vast majority of situations: parameters are easy to use, they're efficient (because only the memory address is passed to the called program, the amount of data being passed is minimal, thus making the data access operation more efficient), and you can access their contents in a straightforward manner when you're debugging.

Add a comment
Last Updated on Monday, 18 August 2014 17:08
Read more...
 
User Rating: / 4
PoorBest 
Practical RPG: Using Data Queues, Part Two PDF Print E-mail
Programming - RPG
Written by Joe Pluta   
Wednesday, 06 August 2014 00:00

Data queues may be small, but this article shows you how keyed data queues allow you to send big things in little packages.

joe plutaWritten by Joe Pluta

The previous article on the practical application of data queues showed how you can use a single keyed data queue to allow an arbitrary number of clients to access an arbitrary number of servers. The only constraint was that the message size was limited to the maximum size of a single data queue entry, which is just shy of 64K. That's a pretty significant constraint, but in this article I'll show you how adding just one more data queue completely removes that constraint.

Add a comment
Last Updated on Wednesday, 06 August 2014 08:50
Read more...
 
The Atomic Add (ATMCADD) MI Instruction PDF Print E-mail
Programming - RPG
Written by Junlei Li   
Wednesday, 06 August 2014 00:00

Learn about the ATMCADD MI instruction and the PowerPC technology behind it.

junlei liWritten by Junlei Li

As one of the shared storage synchronization MI instructions, the Atomic Add (ATMCADD) instruction and its siblings, the Atomic And (ATMCAND) and Atomic Or (ATMCOR) MI instructions, were introduced to IBM i at V5R3 to support atomic update operations on 4-byte or 8-byte storage shared between two or more threads. The concept of atomicity of storage operations is discussed in the Atomicity section in the Machine Interface Architecture Introduction.

Add a comment
Last Updated on Tuesday, 05 August 2014 10:41
Read more...
 
User Rating: / 1
PoorBest 
What Modernization Really, Truly Is (Or Should Be) PDF Print E-mail
Programming - General
Written by David Shirey   
Wednesday, 16 July 2014 00:00

We conclude our exciting homily to modernization, the Black Stone Cherry of the IT world, with a thrilling chapter on the final component of the modernization triangle.

david shireyWritten by David Shirey

First a quick review. We opened this discussion two months ago by talking about how closely the word modernization is linked with the idea of replacing green-screens with GUI and making more extensive use of SQL. But I think it's questionable whether merely changing your tools or your presentation can, by itself, really be considered modernization. Isn't real modernization about making the application stronger and smarter rather than just building it with different tools?

Add a comment
Last Updated on Wednesday, 16 July 2014 00:00
Read more...
 
User Rating: / 1
PoorBest 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 210

WEBCAST

MC Webcast CenterFEATURED WEBCAST

See What i Can Do With Modern RPG Development

Your applications deserve more than just a new look! Change the perception of the IBM i as “old” with modern development tips from IBM and Profound Logic Software.
Watch as Barbara Morris, Brian May and Alex Roytman dive beneath the GUI surface to show the benefits of:

 

  • Working with free-format RPG in IBM i TR7
  • Breaking free from “The Cycle” of traditional RPG development
  • Going beyond the 10 character limit in display and database files
  • And more!

You'll also see a live demonstration of these techniques as the presenters create a modern web application before your eyes! 

 

Watch the Webinar Now!

 

TRIAL SOFTWARE

MS Office Connector for Query/400

NGS' Qport Office enables Windows users to run IBM Query/400 queries to: 

 - Create and update Excel spreadsheets and Access databases

 - Create Word documents

 - Send to Windows screen and PC printers

No query conversion is required. Works with i5/OS V5R1 & above. Installs in minutes!

If you don’t have a budget to replace IBM Query/400, but want your users to have one click enhanced output of their queries.… Request the online license agreement and product download instructions today!

Offer good through December 31, 2013.


   MC-STORE.COM