FEATURE ARTICLES >>

Practical RPG: Processing Stream Files, Part 2

In part 1, we processed a directory. In part 2, we process one file in that directory.

joe plutaWritten by Joe Pluta

Stream files are not database files.

 

While that statement is obvious to programmers, it's not always clear to the greater community. The end users, the folks whose jobs we are supposed to be supporting, use various forms of stream files to store their data, and they don't understand why we can't for example just "use this spreadsheet" as part of our application. And while that's an interesting philosophical discussion, as programmers we sometimes have to simply get things done, and that in turn means taking whatever data the user sent us. I've spent a lot of time over the years importing data primarily from Exceland more specifically from comma-delimited files. Two techniques exist: CPYFRMIMPF and parsing the data in RPG. CPYFRMIMPF is a completely different animal that perhaps can be covered another day. Today, I just want to talk about parsing a stream file.

Read more >>
 
RPG Academy: Write Better Code - Commenting and Documenting Strategies

Usually, programmers don’t comment their code appropriately, for a variety of reasons: “I don’t have the time,” “My code speaks for itself,” etc. Mostly, they simply hate doing it. Let me try to refute these excuses with practical strategies and tools.

rafael victoria preiraWritten by Rafael Victória-Pereira

As I’ve said throughout this series, a procedure’s name and parameter list should be enough for the programmer to understand the objective of that piece of code. However, there are times when this is not enough: complex procedures, generic names, uninspired input/output parameter names…and the list goes on and on. The next section of this TechTip will help you in the process of creating proper documentation for your newly created procedures and functions, with a few tips of what you should and shouldn’t do.

Read more >>
 
Murphy’s Security Law

Holes are everywhere. Address them before someone addresses you.

steve pitcherWritten by Steve Pitcher

A couple articles ago, I talked about the need for modernizing encryption on our IBM i partitions. Shutting one door can shut others, and shutting other doors may give you a false sense of security when you have a few windows open. You can drive yourself batty looking for these holes, but every now and then a hole finds you.

Read more >>
 
Maxava's Enterprise+ "Saves the Ship" for Averitt Express

An international shipping company has plenty of trouble if it can’t get its Electronic Data Interchange (EDI) system to replicate accurately under its high availability (HA) system.

john gristWritten by John Ghrist

This was the scenario faced in October 2015 by Averitt Express, a provider of freight transportation and supply chain management services based in Cookeville, Tennessee. Averitt offers customized shipping solutions, serves customers in more than 100 countries, and services more than 300 international destinations. Averitt also provides its customers a full suite of web-based shipping tools, EDI services, and transportation and operations management systems. Among other online services Averitt offers its customers are such conveniences as a Bill of Lading creation utility, a transit-time calculator, less-than-truckload service maps based on ZIP code, and downloadable certificates, permits, customs forms, and other documents on demand.

Read more >>
 
TechTip: PDO for PHP

Why do we use PHP with an HTML web page? Lots of reasons, but data access is one of the most important, and PHP Data Objects (PDO) is, for me, the best way to do that.

david shireyWritten by David Shirey

There are lots of web languages out there, aren’t there? HTML5, JavaScript, PHP, CoyoTE. I actually don’t know if that last one exists, but given the number of special languages available for the web, I think I’ve got a 50-50 chance.

 

And increasingly, on the IBM i, we are being introduced toand find reasons to usemore and more of these languages. Each has its own list of things that it does well and things that it doesn’t.

Read more >>
 
TechTip: The .NET Core Framework

Provide support for a variety of chip and OS targets.

joydip kanjilalWritten by Joydip Kanjilal

Since the initial version of .NET Framework (the first beta version of .NET 1.0 was released in the fall of 2000), Microsoft has released many more upgrades over the years. With an intent to make the framework cross-platform, open source, and modular, the software giant has now come up with .NET Core Framework.

Read more >>
 

INDUSTRY NEWS >>

Software AG Acquires Artificial Intelligence Company Zementis in the U.S.

Artificial Intelligence and Machine Learning software extends Software AG’s Internet of Things technology leadership.

Read more >>
 
21st RPG & DB2 Summit Set for March 21-23 in Orlando, FL

Tangible tips and techniques lead to immediate application improvements.

Read more >>
 
LaserVault UBD/VM Integration Further Streamlines the IBM i Backup and Restore Process

For businesses looking to replace tape backups, simplifying the IBM i backup process is now easier and more cost effective than ever.

Read more >>
 
IBM Rational Programming Patterns V9.5.1

IBM Rational Programming Patterns V9.5.1 accelerates a secure and exhaustive transition to the Rational Software Delivery Platform.

Read more >>
 
IBM Maximo Asset Management Scheduler Plus on Cloud

IBM Maximo Asset Management Scheduler Plus on Cloud provides advanced capabilities for improved work order management.

Read more >>
 
IBM Bluemix Continuous Delivery Dedicated

IBM Bluemix Continuous Delivery Dedicated offers build and deploy capabilities integrated with other leading DevOps tools in an open toolchain.

Read more >>
 
IBM Informix for Big Data

IBM Informix for Big Data bundle offers improved data analytics and management experience with IBM Informix V12.10 and IBM BigInsights V4.2.

Read more >>
 
IBM Watson Analytics for Social Media

IBM Watson Analytics for Social Media adds flexible dashboard customization and enhanced social cognitive capabilities for improved insight into social elements.

Read more >>
 
Tealeaf Customer Experience on Cloud, Marketing Cloud, and Watson Marketing Professional Services

IBM Marketing Cloud, IBM Tealeaf Customer Experience on Cloud, IBM Customer Experience Analytics, and IBM Watson Marketing Professional Services deliver new services.

Read more >>
 
IBM Planning Analytics Local V2.0 and IBM Planning Analytics Express V2.0

IBM Planning Analytics Local V2.0 and IBM Planning Analytics Express V2.0 add enhanced interface for improved planning, faster analysis, and more accurate forecasting.

Read more >>
 

VIDEOS>>

Introduction to Configuring iAccess Servers to use SSL

To see a list of all the MC Press videos, click here

Events Calendar

December 2016
S M T W T F S
27 28 29 30 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

LATEST COMMENTS >>

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

Latest Offer from the MC Press Bookstore >>

MC Press Bookstore Year-End Inventory BLOWOUT
The LOWEST Prices EVER!

Year End Sale 5-dollar 500px

Year End Sale 10-dollar 500px

Year End Sale 15-dollar 500px

Year End Sale 25-dollar 500px

Year End Sale 35-dollar 500px

MC Press Bookstore Year-End Inventory BLOWOUT
The LOWEST Prices EVER!