× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Murali,

You wrote:


"Please find below is the RPG program 'YCV06020R'....I ve to 
convert program YCV06020R to replace hard coded account 
numbers...any better of best ideas?..actually the program is very 
lengthy ,i ve cut many account numbers since the code similar to 
this...this is best extracted program from the very legnthy 
program....

only these three following sections are repeating in the entire 
code of the program...for understanding i ve posted the complete 
program below..Can anybody give me the best ideas to remove the 
hard coded  account numbers and make my program smaller...."


How about a data file that stores your different combinations of "FIRM", 
"OFCAC" and it's replacement value?  That way you can chain to the file 
and replace it with what's stored in your file.  You could use a fixed 
value in your files to designate the "any" condition on firm. 

Cathie Feiferis
Oakdene Group Inc.
Tech Services
Phone: (630) 368-1046 ext 237
Cell:      (630) 212-0650
Fax:      (630) 368-1050
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.