Home > Ask the AS/400 Experts > Questions & Answers > Speed up a report in RPG IV
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Speed up a report in RPG IV

John Brandt EXPERT RESPONSE FROM: John Brandt

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 07 February 2003
I'm totally new to this and I'm trying to speed up a report in RPG IV. The report takes 1.5 hours to run. If I changed the key fields on the logical file, would I need to change anything in the RPGLE or PF? Aalso, how do I tell if changing this logical file will affect any other logical files related to the physical file it's associated with?

>

If the file is keyed on the wrong field, changing the key should speed up the process. That being said, you will have to do extensive research to ensure the logical is not used in another process to prevent another process from failing. Changing this logical will not affect the PF or any other LF. If the RPG IV is not using the key or it is using a partial that would not be impacted by the change, you should be able to safely change the LF. If the RPG IV is using the key, the key list being used would need to be modified.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts