× 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.



>Currently I use the 'C' api for _System to
>issue the clrpfm command, I was just looking
>for a cleaner option, where I didn't have to
>mix rpg/w CL via API's to perform such a simple
>function....

Perhaps instead of inline code using system() you can wrapper that into your
own CLRPFM procedure.  I would put all such OS-specific procedures in their
own service program.  When the day comes that we run another OS, you won't
be hunting down all the OS-specific references in your code.  If that day
never comes, but IBM introduces a new, hyper-fast way to clear a file, you
can always change that one procedure and all of your programs will now be
upgraded to hyper-clear.

All programs requiring CLRPFM will now have eval rc=clrpfm('xxxtrans':
'translib')
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.