Programming / RPG


Free-Format: Using C Functions in RPG IV PDF Print E-mail
Programming - RPG
Written by Jim Martin   
Wednesday, 07 October 2009 00:00

Integrating C functions with normal RPG IV gives you the best of both worlds.

jim_martinWritten by Jim Martin

Editor's Note: This article is an excerpt from the MC Press book Functions in Free-Format RPG IV.

 

Most RPG programmers don't know the C programming language and avoid technical articles and discussions that have anything to do with it. In fact, I will go so far as to say that many RPG programmers get a little “testy” when someone says that C is better than RPG, since it is newer, uses functions, etc., etc., etc. I have to admit that I was not interested in the C language when it was first available. I was busy on a midrange IBM platform that didn’t even have a C compiler.

Last Updated on Thursday, 01 October 2009 16:14
Read more...
 
User Rating: / 7
PoorBest 
Enhance Your CGIDEV2 Application with Calendar Integration PDF Print E-mail
Programming - RPG
Written by Glenn McClenny   
Wednesday, 07 October 2009 00:00

Integrate your Web applications with your users' personal calendars.

Written by Glenn McClenny

I'll be the first to admit that I'm aging. How old am I? Well, that's a secret that I may divulge at the end of the article. But with age comes organization. Work days become hectic, and sometimes I need a reminder of what I'm supposed to do next. I'm sure some of your users need reminders at times too. That's where the concept of this article started.

Last Updated on Monday, 05 October 2009 16:43
Read more...
 
User Rating: / 6
PoorBest 
Book Review: Functions in Free-Format RPG IV PDF Print E-mail
Programming - RPG
Written by Joe Pluta   
Friday, 02 October 2009 00:00

This one short volume manages to essentially be both a general introduction and a detailed reference.

joe_plutaWritten by Joe Pluta

With Functions in Free-Format RPG IV, Jim Martin has done it again. Jim has a particular expertise in taking a highly technical topic and distilling it into just a couple of hundred pages, making it accessible to any IBM i programmer. Jim also has a knack for identifying just the right balance of general knowledge and technical detail, and this book demonstrates that sense of balance.

Last Updated on Friday, 02 October 2009 08:02
Read more...
 
User Rating: / 1
PoorBest 
Retrieving the Directory Contents of an FTP Server from Within RPG PDF Print E-mail
Programming - RPG
Written by Thomas Snyder   
Wednesday, 16 September 2009 00:00

Create an RPG program to retrieve a list of existing files on an FTP server.

tom_snyderWritten by Tom Snyder

In a previous article, I discussed how to upload a file to an FTP server and how to automate the process using RPG in a manner that would allow your program to evolve to easily support future modifications and server additions and changes. In this article, I'll discuss how you can retrieve information from an FTP server and use that information to download files.

Last Updated on Wednesday, 16 September 2009 00:00
Read more...
 
User Rating: / 5
PoorBest 
Use RPG String Manipulation Built-In Functions to Remove Spaces PDF Print E-mail
Programming - RPG
Written by Thomas Snyder   
Monday, 31 August 2009 09:49

Create a useful procedure to remove white space from strings in RPG.

tom_snyderWritten by Tom Snyder

In a previous article, I discussed how to use string manipulation built-in functions (BIFs) to process external files. I explained %TRIM, %TRIML, %TRIMR, %SUBST, %XLATE, %CHECK, and %CHECKR. But it was brought to my attention that I failed to mention the crucial string manipulation %SCAN BIF when an MC Press Online reader named Donna G. asked me, "Do you have any suggestions on how to strip out the blanks that are in the middle of data?" 

Last Updated on Wednesday, 02 September 2009 07:21
Read more...
 
User Rating: / 3
PoorBest 
Automate Your File Transfers Using FTP on the IBM i PDF Print E-mail
Programming - RPG
Written by Thomas Snyder   
Wednesday, 19 August 2009 01:00

Create a reusable program to make automating your file transfers easy.

tom_snyderWritten by Tom Snyder

File Transfer Protocol (FTP) is a popular way to get your files from one computer to another over the network. The IBM i makes it easy to do this, and I will show you how to create a reusable program that will make your automation of the process even easier.

Last Updated on Wednesday, 19 August 2009 08:09
Read more...
 
User Rating: / 12
PoorBest 
Use a Logical File Layer to Minimize Recompiles from Field Additions PDF Print E-mail
Programming - RPG
Written by Sam Lennon   
Wednesday, 15 July 2009 01:00

When you add a field to a file, you do not have to recompile all programs that access the data.

sam_lennonBy Sam Lennon

Traditionally, if you add a field to a physical file, you have to recompile all programs that use that physical file definition. Generally, you also need to recompile all programs that use logical files over the physical. But with some planning, you can avoid many of these recompiles, thereby shortening and simplifying the installation. And without level checks.

Last Updated on Thursday, 15 October 2009 10:47
Read more...
 
User Rating: / 18
PoorBest 
Use String Manipulation Built-In Functions to Process External Files PDF Print E-mail
Programming - RPG
Written by Thomas Snyder   
Wednesday, 15 July 2009 01:00

With the right RPG tools, you can make the most challenging data manipulation project fun.

tom_snyderWritten by Tom Snyder

Dealing with interface files from external systems is always an involved exercise in data validation. It's also a prime opportunity for using the string manipulation built-in functions (BIFs) available in RPG ILE.

Last Updated on Wednesday, 15 July 2009 01:00
Read more...
 
User Rating: / 4
PoorBest 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 10 of 65

WHITE PAPERS

The following White Papers can be found at the MC White Paper Center

 

 


   MC-STORE.COM