Programming


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 
The API Corner: Trying to Allocate an Object? PDF Print E-mail
Programming - APIs
Written by Bruce Vining   
Wednesday, 16 July 2014 00:00

Use APIs to determine and resolve current lock holders.

bruce viningWritten by Bruce Vining

Last month, in "Problems Allocating an Object?," we looked at the program AllocObj. With AllocObj, we used the List Object Locks (QWCLOBJL) API to get a list of all jobs holding a lock on a given object and then displayed the name of the first job (that wasn't the current job) in that list. This month's "API Corner" will expand the capabilities of AllocObj. The updated AllocObj will, if run in an interactive job, build a subfile listing those jobs with locks on the object. From this list, the user can 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. If the current job is not interactive, then (at least for this month) AllocObj will run as it did in last month's article. Next month, we'll look at some of the batch opportunities for enhancements to AllocObj.

Add a comment
Last Updated on Tuesday, 15 July 2014 11:26
Read more...
 
Modifying a Subfile: Change Is Good, Part 2 PDF Print E-mail
Programming - RPG
Written by Kevin Vandever   
Wednesday, 09 July 2014 00:00

We started some good stuff in Part 1. Now, let's look at more.

kevin vandeverWritten by Kevin Vandever

Editor's Note: This article is an excerpt from the book Subfiles in Free-Format RPG.

 

In Part 1, I introduced a technique for modifying data files using subfiles, showing you the DDS and sample screen to let a user update, add, and delete from a name file. In Part 2, we move on to the RPG code.

Add a comment
Last Updated on Monday, 07 July 2014 13:31
Read more...
 
Practical RPG: Using Data Queues, Part 1 PDF Print E-mail
Programming - RPG
Written by Joe Pluta   
Wednesday, 02 July 2014 00:00

This article moves past the basics of data queues to the practical application of these lightweight communication marvels.

joe plutaWritten by Joe Pluta

In previous articles on data queues and on keyed data queues, I presented the basics of how to create them and how to program for them. I went into some detail about the commands used to manage data queues and the RPG code required to access them. In these next articles, I'm going to go a slightly different direction and present you with the actual business case for using data queues in a robust multi-user (and even multi-platform) architecture.

Add a comment
Last Updated on Wednesday, 02 July 2014 00:00
Read more...
 
The Modify Addressability (MODADR) MI Instruction PDF Print E-mail
Programming - RPG
Written by Junlei Li   
Wednesday, 02 July 2014 00:00

Let's experiment with the MODADR MI instruction and see what we discover.

junlei liWritten by Junlei Li

In IBM i and its ancestors, a context (a library at the operating system level) is an MI object that contains addressabilities to other MI objects. An MI object either has its addressability placed in a context object (library) or not. If the addressability to an MI object is contained in a context, the MI object can be addressed symbolically via the Resolve System Pointer (RSLVSP) MI instruction through the context.

Add a comment
Last Updated on Wednesday, 02 July 2014 00:00
Read more...
 
The CL Corner: Still More Tools for the CL Developer PDF Print E-mail
Programming - CL
Written by Bruce Vining   
Friday, 27 June 2014 00:00

Let's look at the rest of the new built-ins for CL.

bruce viningWritten by Bruce Vining

Last month, in "More Tools for the CL Developer," we looked at the new 7.2 built-ins %char, %dec, %int, and %uint. This month, we'll go over the additional built-ins of %upper, %lower, %size, and %len. But before doing that, I need to make a correction to last month's column.

Add a comment
Last Updated on Friday, 27 June 2014 00:00
Read more...
 
RPG Academy: Using Your Own Functions PDF Print E-mail
Programming - RPG
Written by Rafael Victoria-Pereira   
Friday, 27 June 2014 00:00

Now that you know how to build your own functions, it's time to learn how to use them.

rafael victoria preiraWritten by Rafael Victória-Pereira

The previous TechTip briefly addressed the building of a function and shed some light on how to use it. It's now time to expand on that. This TechTip will discuss the issues regarding the variables to use when calling functions, provide additional advice about building functions, and show you a simple example.

Add a comment
Last Updated on Wednesday, 25 June 2014 10:48
Read more...
 
User Rating: / 2
PoorBest 
More Thoughts on Modernization PDF Print E-mail
Programming - General
Written by David Shirey   
Wednesday, 18 June 2014 00:00

If it's not all about new tools and GUI screens, then what is it about? Here's a hint. It doesn't use nuclear power or fuel cells, but it is pretty modern.  david shirey

 Written by David Shirey

Last month, we started looking at the idea of modernization and what it meant. And I thought that would pretty much do it. But, as it turned out, it took the entire article to talk about how the current way of thinking about modernization (as a technical task that involves changing the tool set we use to develop apps and its fixation on SQL and GUI) was not necessarily the whole story on what modernization really is all about. So I'm extending this topic a bit today (and maybe even once more later) so that we can discuss this topic in detail. I hope you're not disappointed.

Add a comment
Last Updated on Thursday, 19 June 2014 15:40
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 209

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