TechTips / RPG


TechTip: Automate Data Transfers Using FTP PDF Print E-mail
Tips & Techniques - RPG
Written by Rafael Victoria-Pereira   
Friday, 12 February 2010 01:00

i talk to other servers. No, it's not a typo. This TechTip series will get your System i talking to other servers.

rafael_victoria_preiraWritten by Rafael Victoria-Pereira

Back in the old days, when our server was called AS/400, there were few or even no "satellite systems" like PC servers that needed to pass and/or receive data from it. Nowadays, it's a totally different landscape: the i sits together with a broad scope of servers and devices with which it has to communicate, passing and receiving data. These interfaces are, at times, manual data imports or exports performed by operators via boring and repetitive procedures.

Last Updated on Friday, 12 February 2010 01:00
Read more...
 
TechTip: Are You Timing Your Dates Correctly? PDF Print E-mail
Tips & Techniques - RPG
Written by Sam Lennon   
Friday, 09 October 2009 01:00

UDATE may not be the right way to get the current date, but old habits are hard to break.

sam_lennonWritten by Sam Lennon

When you need to put a date and a time together in your RPG IV program, be sure you understand how to use UDATE, *DATE, the TIME opcode , %DATE, %TIME, and %TIMESTAMP.

Last Updated on Friday, 02 October 2009 16:18
Read more...
 
TechTip: Write Modular, Dynamic Code with Procedure Pointers PDF Print E-mail
Tips & Techniques - RPG
Written by Kevin Forsythe   
Friday, 19 June 2009 02:00

Rather than create multiple versions of code to do different things with data, this technique allows you to have only one copy of that logic.

kevin_forsytheWritten by Kevin Forsythe

As we try to develop more modular code, one of the problems that we encounter is how to integrate modules or procedures that need to process more than a single record or row of data. We already know that we can easily pass parameters or arguments between procedures that hold all the data we need if we are processing only a single row or record. But what if we want to call a process that processes all the records for a selected part, or all the records for a given PO, or any similar process? What if we want to pass an array or multiple-occurrence data structure? Those have some limitations that make them more difficult to implement.

Last Updated on Friday, 19 June 2009 02:00
Read more...
           
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 19

TRIAL SOFTWARE

The following trial software can be found at the MC Press Software Center.

 

WHITE PAPERS

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

 

 


   MC-STORE.COM