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



Bill,

"Best" is in the eye of the beholder. Personally I like Scott's IFS
tutorial at
http://www.scottklement.com/rpg/ifs.html

I've found:
- It's faster than any IBM command. Which was really amazing - until you
run the command in debug and see all the SQL IBM does under the covers.
- It gets a higher level of granularity. More important coming from IFS.
For example, if someone passes you an item number that is bigger than the
item number field in your database you can handle that right then and
there instead of trying to diagnose CPYFRMIMPF. But, this granularity may
be of assistance in something you want to do. For example, you may have a
two step process that prepares the data and then converts it to IFS. You
could drop that down to a 1 step process and cut time drastically.
- Most importantly (to me anyway) is that it gets around those silly CCSID
issues that IBM used to totally blow CPYTOIMPF and CPYFRMIMPF out of the
water in V5R3 and beyond (see the Memo to Users).

A workaround is to use CPYTOIMPF to copy from one DB file to another, and
then use CPYTOSTMF to actually put it into the IFS. I've had to do this
at times to get around the CCSID issues. CPYTOIMPF is more susceptible to
the CCSID issues.

Rob Berendt

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.