Programming


IBM i Staff Changes: The End of the World as We Know It? PDF Print E-mail
Programming - RPG
Written by David Shirey   
Wednesday, 16 November 2016 00:00

Another topic that seems to be topping the charts these days is the bemoaning of the retirement of RPG talent. But is it really one of the signs of the coming apocalypse?

david shireyWritten by Dave Shirey

A certain amount has been written lately about all the RPG talent that is getting ready to retire or die and what impact that will have on those of us who are still hanging on. Maybe it all started with a webinar (the recording's available) "Strategies for Overcoming IBM i Skills and Staffing Shortages"  given by Rob Rheault, Director of Application Services, and Marcel Sarrasin, VP of Corporate Marketing and Business Development, at Fresche Legacy. This webinar kicked off a certain amount of discussion in the RPG/AS400 Developers group on LinkedIn under a post by Kimberley Chan.

Add a comment
Last Updated on Tuesday, 15 November 2016 13:26
Read more...
 
SQL 101: Tools of the Trade – Old, Reliable STRSQL, Part 2 PDF Print E-mail
Programming - SQL
Written by Rafael Victoria-Pereira   
Wednesday, 16 November 2016 00:00

Ready for more tips on STRSQL? Even if you’re familiar with this old and venerable tool, this article might show you something new.

rafael victoria preiraWritten by Rafael Victória-Pereira

The previous article started to discuss STRSQL and stopped short of explaining a very important set of features. So I’ll just pick up where I left off: I’m going to explain what Option 1 of the Interactive SQL Session Services screen, reachable by pressing F13 on the main screen, can be used for. This option brings up the Session Attributes screen, depicted in Figure 1.

Add a comment
Last Updated on Tuesday, 15 November 2016 12:29
Read more...
 
RPG Fundamentals Tip #3: Working with Nomain Modules PDF Print E-mail
Programming - RPG
Written by Jim Buck   
Friday, 11 November 2016 00:00

Unlike cycle main and linear main programs, nomain modules have no main procedure.

jim buckWritten by Bryan Meyers and Jim Buck

Editor’s note: This article is excerpted from Programming in ILE RPG, Fifth Edition, chapter 14, “Building Modular Programs with Procedures.”

 

The programs previously discussed [cycle main and linear main] are complete programs in themselves. They include a main procedure, along with all the other required subprocedures, coded within one source member, or compile unit. ILE also enhances modular programming concepts by allowing you to code a source member that consists of a segment of a program without a main procedure. The resulting Nomain module contains only subprocedures (one or more) that you can combine with other modules to create a program. By itself, a Nomain module cannot create a program object. One of the modules in a program must have a main procedure.

Add a comment
Last Updated on Friday, 11 November 2016 00:00
Read more...
 
RPG Academy: Write Better Code - More Tips for Organizing Your Modules and Service Programs PDF Print E-mail
Programming - RPG
Written by Rafael Victoria-Pereira   
Tuesday, 01 November 2016 23:00

The previous article of the series discussed module and service program organization. It’s now time to do the same for binding directories.

rafael victoria preiraWritten by Rafael Victória-Pereira

Let’s start with a quick recap of binding directories. Your modules will be composed of procedures. Some of these procedures are going to be available to the outside world; these are the module’s exports. The module’s procedures might call procedures from other service programs; these are the module’s imports. The problem is that the compiler has no idea where to find those procedures that your module’s code is calling, if they don’t belong to the same module/service program.

Add a comment
Last Updated on Monday, 31 October 2016 13:56
Read more...
 
Practical RPG: Processing Stream Files, Part 1 PDF Print E-mail
Programming - RPG
Written by Joe Pluta   
Monday, 31 October 2016 14:00

We've all had to process a folder full of files from a PC or a UNIX machine; today we learn how to do it programmatically.

joe plutaWritten by Joe Pluta

If you're like me, you strongly believe that the IBM i is the best choice as your business integration hub. It talks just about any language, can handle any kind of data, and has unparalleled reliability. In fact, it's a prefect interpreter between other systems in your infrastructure. One of the things that IBM has focused on over the years is a fantastic capability to support stream files. Whether it's the UNIX-like capabilities of QShell, the stream file capabilities of commands like CPYFRMIMPF, or the ability to write C programs to directly access the files, there isn't a stream file requirement that can't be met by the IBM i.

Add a comment
Last Updated on Monday, 31 October 2016 14:00
Read more...
 
RPG Fundamentals Tip #2: Working with Linear Main Programs PDF Print E-mail
Programming - RPG
Written by Jim Buck   
Thursday, 20 October 2016 23:00

Unlike cycle main programs, linear main programs do not include the RPG cycle.

jim buckWritten by Bryan Meyers and Jim Buck

Editor’s note: This article is excerpted from Programming in ILE RPG, Fifth Edition, chapter 14, “Building Modular Programs with Procedures.”

 

RPG supports a second type of program (as an alternative to cycle main programs) that does not include the RPG cycle. A linear main program explicitly names a procedure to be the main procedure for the program. A linear main program includes a Ctl-opt instruction with the Main keyword to name the main procedure:

Add a comment
Last Updated on Thursday, 20 October 2016 23:00
Read more...
 
User Rating: / 1
PoorBest 
The JavaScript Event Loop for IBM i Developers PDF Print E-mail
Programming - Scripting
Written by Brian May   
Tuesday, 18 October 2016 23:00

Understanding the Event Loop is critical to JavaScript development both in the browser and in Node.js.

brian mayWritten by Brian May

In my day-to-day work, I switch between RPG and JavaScript development constantly. While I do not consider myself the ultimate authority on JavaScript, I do have a solid working knowledge of the language. There was a time when JavaScript was only used for browser manipulation at runtime, but with the rise of Node.js, which is now available on IBM i, JavaScript is becoming a major player for server-side development as well.

Add a comment

Last Updated on Wednesday, 19 October 2016 09:34
Read more...
 
User Rating: / 2
PoorBest 
SQL 101: Tools of the Trade - Old, Reliable STRSQL, Part 1 PDF Print E-mail
Programming - SQL
Written by Rafael Victoria-Pereira   
Tuesday, 18 October 2016 23:00

This article kicks off a new subseries in which I’ll discuss a few tools at your disposal to write, validate, and run SQL statements. The first of the list is the Interactive SQL, better known as STRSQL.

rafael victoria preiraWritten by Rafael Victória-Pereira

Perhaps the most used (and certainly the oldest) tool to execute SQL statements is the green-screen Start Interactive SQL Session command, STRSQL. This command is somewhat similar to the QCMD command in the sense that it provides similar function keys.

Add a comment

Last Updated on Tuesday, 18 October 2016 12:07
Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 229

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