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



1 - Even though it is a simple text file you will find that WordPad will 
make it look prettier than NotePad.  WordPad will break up the lines. 
Showed that to one of our PC "gurus" just last week.  I also showed the 
same guy that you CAN select text out of a pdf file by using the "select" 
tool.

2 - The theory is that copying the file, using CPYFRMIMPF, and just 
reading that is easier.  However, since V5R3 lots have changed.  In the 
V5R3 memo to users IBM alluded to that much undesirable effects were going 
to occur because of new rules on CCSID, etc.  With all the hassles we ran 
into we started using Scott's IFS API's.  They actually perform better 
than CPYFRMIMPF.  Not only that, but you get more granular control.  Let 
me explain.  Let's say that, in your example below, that EAC is a unit of 
measure.  Now let's say that you are on the 3,000 row and that is the 
first one that says EAC.  All the rest say EA.  Now let's say that your 
U/M code in your file only allows for 2 characters.  If you use the IFS 
API's then you can handle that nicely in an exception report.  Beats the 
snot out of monitoring for an exception message on CPYFRMIMPF and telling 
some poor sap to look at the job log.  We used to have to do a HELL of a 
lot of Excel analysis to find these kind of errors.

http://www.scottklement.com/rpg/ifs.html

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.