Programming


More Free-Form for RPG, Part 3 PDF Print E-mail
Programming - RPG
Written by David Shirey   
Wednesday, 16 April 2014 00:00

Seems like folks can't get enough of the free-form control statements replacement for specs in RPG. Or maybe it's just that everyone who writes wants to talk about it. But this is all I'll say about it, so at least be glad about that.

david shireyWritten by David Shirey

So far, we've covered free-format control statements and H control statements (Part 1), and file control statements (Part 2). What's left? Just data structure control statements, and the PI and PR control statements used for prototyping. So let's jump in.

Add a comment

Last Updated on Tuesday, 15 April 2014 11:48
Read more...
 
The API Corner: Accessing System Information PDF Print E-mail
Programming - APIs
Written by Bruce Vining   
Wednesday, 16 April 2014 00:00

It's easy with the Materialize Machine Attributes MI instruction.

bruce viningWritten by Bruce Vining

While RPG application developers can easily access job-related information, such as the current job date (special words such as UDATE or *DATE) and the current user of the program (offset 358 through 367 of the PSDS), there are (admittedly infrequent) times when the developer also needs specific pieces of system-related information. Items that rapidly come to mind are the serial number of the system and the name of the system, though I've also seen questions about the serial number of the LPAR the application is running on, how many processors there are on the system, and so on.

Add a comment
Last Updated on Tuesday, 15 April 2014 14:45
Read more...
 
Finally! Ruby on Rails on IBM i! PDF Print E-mail
Programming - Web Languages
Written by David Shirey   
Wednesday, 09 April 2014 00:00

Waiting for the next big thing on the i? Maybe this is it. Ruby on Rails, a very popular web language, is now available for use with the i. But what does that really mean for you?

david shireyWritten by David Shirey

Finally, Ruby on Rails, the Darling Parade of the Internet world, is on the IBM i. But before I begin, I want everyone to know exactly what this article is about.

 

First, I am not going to teach you how to code Ruby on Rails. Like I could actually do that in a magazine article anyway. Ruby is a powerful, full-function language, and learning it is not something that can be done in an afternoon, even with a glass or two of merlot.

 

Second, this is not going to be a sales article for Ruby. Some people might think it should be, but it isn't. Nor is it a hatchet job. Ruby on Rails is a great language and a great framework (Ruby is the language; Rails is the framework), and its appearance on the i is a really, really good thing. All I'm trying to do is present an unvarnished and fair appraisal of it and explain what it really means for the i.

Add a comment
Last Updated on Friday, 04 April 2014 15:12
Read more...
 
User Rating: / 2
PoorBest 
Practical ILE: Building Your Service Program Library, Part 1 PDF Print E-mail
Programming - RPG
Written by Joe Pluta   
Wednesday, 02 April 2014 00:00

The major components of ILE are activation groups and service programs. We've addressed activation groups; now it's time to get practical with service programs.

joe plutaWritten by Joe Pluta

At its most basic level, a service program provides an application program with a set of related procedures that group together like functions. Typically, these functions rely on one another and may even encapsulate shared data, providing some of the more powerful and useful features of object-oriented programs to good old procedural ILE programs. In order to use service programs, you need to consider three steps: grouping your procedures, including your prototypes, and binding your programs. Each of these steps is critical to the process, and this series of articles will familiarize you with each of the steps. In additional tips and articles, I'll identify specific techniques that you can use to make your job easier.

Add a comment
Last Updated on Tuesday, 01 April 2014 11:01
Read more...
 
What's New with RPG Open Access and the Open Standard (OAMOS)? PDF Print E-mail
Programming - RPG
Written by Pascal Polverini   
Wednesday, 02 April 2014 00:00

The future is now.

pascal polveriniWritten by Pascal Polverini

There has never been a better time to learn about Open Access (OA). It has now become a mature technology that RPG developers are increasingly adopting. Although ISVs have primarily been using it for creating graphical user interfaces, printing and database solution providers are starting to leverage the OA architecture too.

 

For you RPG developers who haven't yet delved into OA, how can OA change your perspective?

Add a comment
Last Updated on Wednesday, 02 April 2014 00:00
Read more...
 
User Rating: / 2
PoorBest 
More Free-Form for RPG, Part 2 PDF Print E-mail
Programming - RPG
Written by David Shirey   
Wednesday, 19 March 2014 00:00

RPG took a great leap forward when free-form C-specs were introduced. Now, with a PTF on V7.1, you can extend that to do free-form H-, F-, D-, and prototype-oriented specs. Want to know more about it?

david shireyWritten by David Shirey

In our last exciting episode, we looked at free-form in RPG in general and started to go through the new additions for the V7.1 PTF by looking at the replacements for H-specs (option control statements). Now it's time to move on to the other positional specs and their free-form control statements counterparts.

Add a comment
Last Updated on Wednesday, 19 March 2014 00:00
Read more...
 
User Rating: / 1
PoorBest 
The API Corner: Saving Individual User Profiles PDF Print E-mail
Programming - APIs
Written by Bruce Vining   
Wednesday, 19 March 2014 00:00

Use the Save Object List API.

bruce viningWritten by Bruce Vining

 

I was recently asked by Vasilis F. if there was a way to save specific user profiles from one system and then restore those profiles to one or more other systems. He had found the Restore User Profile (RSTUSRPRF) command, which allows you to restore from 1 to 300 specific profiles but, strangely enough, no Save User Profile command in order to save those specific profiles. Rather, the help text for RSTUSRPRF points to the Save System (SAVSYS) and Save Security Data (SAVSECDTA) commands, both of which are a bit of overkill when you just want to duplicate three user profiles (out of hundreds) to several other systems. Fortunately, the Save Object List (QSRSAVO) API supports, among many other capabilities, the saving of a specific list of user profiles.

Add a comment
Last Updated on Tuesday, 18 March 2014 14:04
Read more...
 
Practical RPG: Data in the Cloud, Part 2 PDF Print E-mail
Programming - RPG
Written by Joe Pluta   
Wednesday, 05 March 2014 00:00

The cloud has successfully provided file storage since long before it was called the cloud, but does that success translate to databases?

joe plutaWritten by Joe Pluta

In my previous article, I introduced you to the concept of files in the cloud, whether it's a file-sharing service such as Dropbox or a whole-enterprise backup system using something like Carbonite or CrashPlan. But in this article, I want to focus on a relative newcomer to the playing field, databases in the cloud. These are true relational databases (RDBMSs)—or in the case of NoSQL, anti-RDBMSs in the sky. This article explains the difference between the two and introduces you to some of the players in today's market.

Add a comment
Last Updated on Monday, 03 March 2014 12:51
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 207

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