Title: Administrator Tip
A newsletter published by TechTarget 
 September 03, 2003 >> Receive this e-mail as text   >> About this e-mail 
ISSUE SPONSORED BY:
>>  Concise Systems: Custom iSeries software & support
 Today's Highlights  

>>  FEATURED TIP:  How to use RPG's IMPORT and EXPORT keywords to share data across modules
>>  TECHNICAL QUESTIONS ANSWERED:  More tips, advice on RPG modules
>>  ANNOUNCEMENTS & LINKS:  Tip Contest -- You could win a $50 Amazon gift certificate
 Tips  

FEATURED TIP
How to use RPG's IMPORT and EXPORT keywords to share data across modules
by Ron Turull

Do you have two modules that need to use the same variable? One option is parameter passing in which that variable is passed between the modules. However, that can lead to excessive parameter passing and a decrease in CALL-operation performance. Another option: external variables. Using the RPG keywords Export and Import, you can define and declare, respectively, a particular field as external.
>>View Complete Tip
SPONSORED BY: Concise Systems

Our business philosophy centers around providing custom AS/400 and iSeries software and support at a much lower cost, quicker turnaround, and at a higher level of satisfaction than most package software. For the past 15 years we have worked with hundreds of companies of all sizes and industries in Upstate New York and Western Massachusetts. We don't believe in annual fees, and we don't charge for phone consultations. Call us today at (518) 482-4508 or contact us by e-mail.

More information

 Technical Questions Answered  

Breaking down an RPG program
This user is in the process of breaking down a huge RPG program into ILE RPG. He needs to break the whole program into modules so they can make changes to one module only and then promote the changed module to production. He asks, "What areas do I need to concentrate on in terms of making the program modules independent of each other?" Search400.com expert John Brandt advises.

Global variables with EXPORT and IMPORT keywords
There are many ways to share the information between two programs, such as passing parameters, data area, data queues, etc., but there is another way to effectively and efficiently share the information -- use EXPORT and IMPORT keywords.

Define global set of variables
"EricG" asks, "Is there a way to define a global set of variables and then build them into a Local Data Structure within a specific procedure so that only that procedure sees them -- without moving data between variables?" Search400.com expert John Brandt has a couple ideas, including using the EXPORT keyword to create a module that uses the variables that he wants to make global.

Top 10 iSeries administrator tips
Keeping abreast on the latest systems management information is not an easy task. The Search400.com admin tips can help. Here's a list of the most popular tips year to date.



 Announcements & Links  


WIN AN AMAZON GIFT CERTIFICATE
Send in tip today
What would you buy with a $50 Amazon gift certificate? All you need to do is send in a tech tip -- programmer, administrator, security or WebSphere -- to be eligible to win.

SEARCH400.COM READER SURVEY
Take our latest polls
Are you being asked to comply with UCCnet, a worldwide initiative to improve supply-chain effectiveness?

Do you think suppliers will be at a disadvantage if they don't participate in the UCCnet registry?


NEW BOOK EXCERPT
Download the chapter
Log on and download for free Chapter 7 of Subfiles in RPG IV: Rules, Examples, Techniques, and Other Cool Stuff written by Kevin Vandever and published by MC Press.

This chapter, "Subfiles and Data Queues -- A Perfect Combination," looks at how to incorporate all the features in the Program Development Manager (PDM) into a subfile application.
>>  Buy the book



Update your subscriptions
Select newsletters you would like to receive from the list below.
Daily News
Programmer Tips
Security Tip
E-mail
  
Not a member? We'll activate your membership with your subscription.



  Contact Us  

SITE EDITOR
Michelle Davidson
[EMAIL PROTECTED]
>> Send me your story ideas and best practices.


ASSISTANT EDITOR
Debra Tart
[EMAIL PROTECTED]
>> Send me your Best Web Links and glossary terms.


EXECUTIVE TECH EDITOR
David Gabel
[EMAIL PROTECTED]
>> Send me your technical tips and tip ideas.


SALES REPRESENTATIVE
Jillian Corby
[EMAIL PROTECTED]
>> Sponsor this or any other TechTarget newsletter.


A B O U T   T H I S   N E W S L E T T E R
This newsletter is published by TechTarget, the most targeted IT media.
Copyright 2003 TechTarget. All rights reserved.
To unsubscribe from "Administrator Tips":
  -  Reply to this e-mail with REMOVE in the Subject line
OR
  -  Go to unsubscribe and enter your e-mail address to cancel your subscription

Please note, unsubscribe requests may take up to 24 hours to process; you may receive additional mailings during that time. A confirmation e-mail will be sent when your request has been successfully processed.

Reply via email to